Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Point to Trusty instance via an environment variable #1401

Merged
merged 1 commit into from
Nov 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions deployment/helm/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ spec:
value: "/secrets/auth/token_key_passphrase"
- name: "MEDIATOR_IDENTITY_SERVER_CLIENT_SECRET_FILE"
value: "/secrets/identity/identity_client_secret"
- name: "MEDIATOR_UNSTABLE_TRUSTY_ENDPOINT"
value: "{{ .Values.trusty.endpoint }}"

# ko will always specify a digest, so we don't need to worry about
# CRI image caching
Expand Down
3 changes: 3 additions & 0 deletions deployment/helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ hostname: "mediator.example.com"
db:
host: "postgres.postgres"

trusty:
endpoint: "http://pi.pi:8000"

# NOTE: we are migrating from AWS-specific annotations to a "pre-create the service account" model.
# If serviceAccounts.migrate or serviceAccount.server are set, these values will be ignored.
aws:
Expand Down