diff --git a/gocd/templates/pipelines/chartcuterie.libsonnet b/gocd/templates/pipelines/chartcuterie.libsonnet index eaa5f81..cb65338 100644 --- a/gocd/templates/pipelines/chartcuterie.libsonnet +++ b/gocd/templates/pipelines/chartcuterie.libsonnet @@ -11,6 +11,9 @@ local deploy_canary(region) = timeout: 600, elastic_profile_id: 'chartcuterie', environment_variables: { + // k8s-deploy dispatches deployment workflows using GitHub App credentials. + GITHUB_APP_ID: '{{SECRET:[devinfra-github][app_id]}}', + GITHUB_APP_PRIVATE_KEY: '{{SECRET:[devinfra-github][private_key]}}', LABEL_SELECTOR: 'service=chartcuterie,env=canary', }, tasks: [ @@ -67,6 +70,9 @@ function(region) { timeout: 600, elastic_profile_id: 'chartcuterie', environment_variables: { + // k8s-deploy dispatches deployment workflows using GitHub App credentials. + GITHUB_APP_ID: '{{SECRET:[devinfra-github][app_id]}}', + GITHUB_APP_PRIVATE_KEY: '{{SECRET:[devinfra-github][private_key]}}', LABEL_SELECTOR: 'service=chartcuterie', }, tasks: [