Skip to content

Commit

Permalink
Add gfd credential in docker-compose file.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rup-Narayan-Rajbanshi committed Feb 11, 2025
1 parent f02b364 commit a591837
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ env:
EMDAT_AUTHORIZATION_KEY: dummy-value
IDMC_CLIENT_ID: dummy-value
EOAPI_DOMAIN: https://montandon-eoapi.dummy.com
GFD_CREDENTIAL: dummy-value
GFD_SERVICE_ACCOUNT: dummy-value


jobs:
pre_commit_checks:
Expand Down
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ x-server: &base_server_setup
# ETL Sources
EMDAT_AUTHORIZATION_KEY: ${EMDAT_AUTHORIZATION_KEY?error}
IDMC_CLIENT_ID: ${IDMC_CLIENT_ID?error}
GFD_CREDENTIAL: ${GFD_CREDENTIAL?error}
GFD_SERVICE_ACCOUNT: ${GFD_SERVICE_ACCOUNT?error}
# ETL Load
EOAPI_DOMAIN: ${EOAPI_DOMAIN?error}
volumes:
Expand Down
2 changes: 2 additions & 0 deletions helm/templates/config/secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ stringData:
# ETL Sources
EMDAT_AUTHORIZATION_KEY: {{ required "secrets.EMDAT_AUTHORIZATION_KEY" .Values.secrets.EMDAT_AUTHORIZATION_KEY | quote }}
IDMC_CLIENT_ID: {{ required "secrets.IDMC_CLIENT_ID" .Values.secrets.IDMC_CLIENT_ID | quote }}
GFD_CREDENTIAL: {{ required "secrets.GFD_CREDENTIAL" .Values.secrets.GFD_CREDENTIAL | quote }}
GFD_SERVICE_ACCOUNT: {{ required "secrets.GFD_SERVICE_ACCOUNT" .Values.secrets.GFD_SERVICE_ACCOUNT | quote }}

# Database
{{- if .Values.postgresql.enabled }}
Expand Down
2 changes: 2 additions & 0 deletions helm/values-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ secrets:
# Sources
EMDAT_AUTHORIZATION_KEY: dummy-key
IDMC_CLIENT_ID: dummy-client-id
GFD_CREDENDIAL: dummy-gfd-cred
GFD_SERVICE_ACCOUNT: dummy-gfd-service-ac
secretsAdditional:
ENABLE_MAGIC_SECRET: "true"
MAGIC_KEY: to-much-fun
Expand Down
2 changes: 2 additions & 0 deletions helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,8 @@ secrets:
# ETL Sources
EMDAT_AUTHORIZATION_KEY:
IDMC_CLIENT_ID:
GFD_CREDENDIAL:
GFD_SERVICE_ACCOUNT:
# NOTE: Used to pass additional secrets to api/worker containers
# NOTE: Not used by azure vault
secretsAdditional:
Expand Down

0 comments on commit a591837

Please sign in to comment.