From d9681cb37a84fe53bc68b13c4f3a67048576028d Mon Sep 17 00:00:00 2001 From: Bharath Nallapeta Date: Tue, 16 Jan 2024 21:33:15 +0530 Subject: [PATCH] migrate image from nexus to ghcr (#18) * migrate image from nexus to ghcr * update workflow version and fix markdownlint --- .github/workflows/pull_request.yaml | 10 +++++----- .github/workflows/push.yaml | 8 ++++---- content/external-secret-operator/workflow.md | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/pull_request.yaml b/.github/workflows/pull_request.yaml index db2e5dd..5341692 100644 --- a/.github/workflows/pull_request.yaml +++ b/.github/workflows/pull_request.yaml @@ -7,17 +7,17 @@ on: jobs: qa: - uses: stakater/.github/.github/workflows/pull_request_doc_qa.yaml@v0.0.52 + uses: stakater/.github/.github/workflows/pull_request_doc_qa.yaml@v0.0.62 with: MD_CONFIG: .github/md_config.json DOC_SRC: content MD_LINT_CONFIG: .markdownlint.yaml build: - uses: stakater/.github/.github/workflows/pull_request_container_build.yaml@v0.0.52 + uses: stakater/.github/.github/workflows/pull_request_container_build.yaml@v0.0.62 with: DOCKER_FILE_PATH: Dockerfile secrets: - CONTAINER_REGISTRY_URL: ${{ secrets.STAKATER_NEXUS_PREPROD_REGISTRY }} - CONTAINER_REGISTRY_USERNAME: ${{ secrets.STAKATER_NEXUS_PREPROD_USERNAME }} - CONTAINER_REGISTRY_PASSWORD: ${{ secrets.STAKATER_NEXUS_PREPROD_PASSWORD }} + CONTAINER_REGISTRY_URL: ghcr.io/stakater + CONTAINER_REGISTRY_USERNAME: stakater-user + CONTAINER_REGISTRY_PASSWORD: ${{ secrets.STAKATER_GITHUB_TOKEN }} SLACK_WEBHOOK_URL: ${{ secrets.STAKATER_DELIVERY_SLACK_WEBHOOK }} diff --git a/.github/workflows/push.yaml b/.github/workflows/push.yaml index 408087b..ea73609 100644 --- a/.github/workflows/push.yaml +++ b/.github/workflows/push.yaml @@ -7,13 +7,13 @@ on: jobs: push: - uses: stakater/.github/.github/workflows/push_container.yaml@v0.0.52 + uses: stakater/.github/.github/workflows/push_container.yaml@v0.0.62 with: DOCKER_FILE_PATH: Dockerfile RELEASE_BRANCH: main secrets: - CONTAINER_REGISTRY_URL: ${{ secrets.STAKATER_NEXUS_PREPROD_REGISTRY }}/stakater - CONTAINER_REGISTRY_USERNAME: ${{ secrets.STAKATER_NEXUS_PREPROD_USERNAME }} - CONTAINER_REGISTRY_PASSWORD: ${{ secrets.STAKATER_NEXUS_PREPROD_PASSWORD }} + CONTAINER_REGISTRY_URL: ghcr.io/stakater + CONTAINER_REGISTRY_USERNAME: stakater-user + CONTAINER_REGISTRY_PASSWORD: ${{ secrets.STAKATER_GITHUB_TOKEN }} SLACK_WEBHOOK_URL: ${{ secrets.STAKATER_DELIVERY_SLACK_WEBHOOK }} GH_TOKEN: ${{ secrets.STAKATER_GITHUB_TOKEN }} diff --git a/content/external-secret-operator/workflow.md b/content/external-secret-operator/workflow.md index edb21da..15a6dd8 100644 --- a/content/external-secret-operator/workflow.md +++ b/content/external-secret-operator/workflow.md @@ -16,7 +16,7 @@ Secret Store `tenant-vault-secret-store` is already created in each namespace by ### Step 3 -Service account `tenant-vault-access` being referred by `SecretStore` is already created by Multi Tenant Operator templates. This service account has the `stakater.com/vault-access: 'true'` label, which is used to bound it with the Vault `role` by Multi Tenant Operator. To learn how Multi Tenant Operator authenticates with Vault, see [Vault Multitenancy](https://docs.stakater.com/mto/main/vault-multitenancy.html). +Service account `tenant-vault-access` being referred by `SecretStore` is already created by Multi Tenant Operator templates. This service account has the `stakater.com/vault-access: 'true'` label, which is used to bound it with the Vault `role` by Multi Tenant Operator. To learn how Multi Tenant Operator authenticates with Vault, see [Vault Multitenancy](https://docs.stakater.com/mto/latest/tutorials/vault/enabling-multi-tenancy-vault.html). ### Step 4