diff --git a/onboarding/Chart.yaml b/onboarding/Chart.yaml index 0e4146c..c10cd7f 100644 --- a/onboarding/Chart.yaml +++ b/onboarding/Chart.yaml @@ -5,4 +5,4 @@ apiVersion: v1 name: onboarding description: Tool to register PAs' software repositories on Developers Italia. -version: 0.2.0 +version: 0.2.1 diff --git a/onboarding/templates/deployment.yaml b/onboarding/templates/deployment.yaml index a536cb1..431c311 100644 --- a/onboarding/templates/deployment.yaml +++ b/onboarding/templates/deployment.yaml @@ -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 valueFrom: secretKeyRef: diff --git a/onboarding/templates/secret.yaml b/onboarding/templates/secret.yaml index deaa0e6..43e2a33 100644 --- a/onboarding/templates/secret.yaml +++ b/onboarding/templates/secret.yaml @@ -10,4 +10,4 @@ spec: name: {{ template "onboarding.fullname" . }}-azure-kv dataFrom: - extract: - key: k8s-secrets-onboarding \ No newline at end of file + key: k8s-secrets-{{ template "onboarding.fullname" . }} diff --git a/onboarding/values-staging.yaml b/onboarding/values-staging.yaml index 372a874..ec67d65 100644 --- a/onboarding/values-staging.yaml +++ b/onboarding/values-staging.yaml @@ -25,6 +25,7 @@ onboarding: onboarding_email_bcc: "contatti@developers.italia.it" onboarding_email_override_recipient_addr: "contatti@developers.italia.it" onboarding_email_subject: "[staging] Onboarding Developers Italia" + developers_italia_api_url: "https://api-staging.developers.italia.it/v1" services: httpPort: diff --git a/onboarding/values.yaml b/onboarding/values.yaml index 84ba398..d15539d 100644 --- a/onboarding/values.yaml +++ b/onboarding/values.yaml @@ -23,6 +23,7 @@ onboarding: onboarding_email_bcc: "contatti@developers.italia.it" onboarding_email_override_recipient_addr: "pera@agid.gov.it" onboarding_email_subject: "Onboarding Developers Italia" + developers_italia_api_url: "https://api.developers.italia.it/v1" services: httpPort: