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

feat(onboarding): add staging configuration #44

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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 onboarding/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ spec:
value: "{{ .Values.onboarding.env.onboarding_email_override_recipient_addr }}"
- name: ONBOARDING_EMAIL_SUBJECT
value: "{{ .Values.onboarding.env.onboarding_email_subject }}"
- name: DEVELOPERS_ITALIA_API_URL
value: "{{ .Values.onboarding.env.developers_italia_api_url }}"
- name: ONBOARDING_SMTP_HOSTNAME
value: "{{ .Values.onboarding.env.onboarding_smtp_hostname }}"
- name: ONBOARDING_SMTP_USERNAME
Expand Down
8 changes: 4 additions & 4 deletions onboarding/templates/secretproviderclass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@ spec:
objects: |
array:
- |
objectName: k8s-secrets-onboarding-smtp-password
objectName: k8s-secrets-{{ template "onboarding.fullname" . }}-smtp-password
objectType: secret
- |
objectName: k8s-secrets-paseto-key
objectName: k8s-secrets-{{ template "onboarding.fullname" . }}-paseto-key
objectType: secret
tenantId: f7f7d6c7-92de-488e-b37e-8963207c7b86
secretObjects:
- data:
- key: smtp-password
objectName: k8s-secrets-onboarding-smtp-password
objectName: k8s-secrets-{{ template "onboarding.fullname" . }}-smtp-password
- key: paseto-key
objectName: k8s-secrets-paseto-key
objectName: k8s-secrets-{{ template "onboarding.fullname" . }}-paseto-key
secretName: {{ template "onboarding.fullname" . }}-azure-kv
type: Opaque
1 change: 1 addition & 0 deletions onboarding/values-staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ onboarding:
onboarding_email_subject: "[staging] Onboarding Developers Italia"
onboarding_smtp_hostname: smtp.eu.mailgun.org
onboarding_smtp_username: [email protected]
developers_italia_api_url: "https://api-staging.developers.italia.it/v1"

services:
httpPort:
Expand Down
1 change: 1 addition & 0 deletions onboarding/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ onboarding:
onboarding_email_subject: "Onboarding Developers Italia"
onboarding_smtp_hostname: smtp.eu.mailgun.org
onboarding_smtp_username: [email protected]
developers_italia_api_url: "https://api.developers.italia.it/v1"

services:
httpPort:
Expand Down