diff --git a/gate-teamware/README.md b/gate-teamware/README.md index 0a305ca..6fa205f 100644 --- a/gate-teamware/README.md +++ b/gate-teamware/README.md @@ -134,6 +134,13 @@ and the deployments may need to be manually updated using `kubectl rollout resta ## Changelog +### Version 0.2.3 + +No breaking changes. + +Minor changes: +- `privacyPolicy` key added containing `host` and `admin`, each containing `name`, `address` and `contact` fields to hold contact details for the app's privacy policy and terms & conditions. + ### Version 0.2.1 **Breaking changes** diff --git a/gate-teamware/templates/deployment-backend.yaml b/gate-teamware/templates/deployment-backend.yaml index 4a0fc43..b97ffe3 100644 --- a/gate-teamware/templates/deployment-backend.yaml +++ b/gate-teamware/templates/deployment-backend.yaml @@ -136,6 +136,19 @@ spec: {{- toYaml . | nindent 10 }} {{- end }} {{- if and $.Values.email.smtp.security $.Values.email.smtp.clientCertSecret }} + # Privacy Policy Settings + - name: PP_HOST_NAME + value: {{ $.Values.privacyPolicy.host.name | quote }} + - name: PP_HOST_ADDRESS + value: {{ $.Values.privacyPolicy.host.address | quote }} + - name: PP_HOST_CONTACT + value: {{ $.Values.privacyPolicy.host.contact | quote }} + - name: PP_ADMIN_NAME + value: {{ $.Values.privacyPolicy.admin.name | quote }} + - name: PP_ADMIN_ADDRESS + value: {{ $.Values.privacyPolicy.admin.address | quote }} + - name: PP_ADMIN_CONTACT + value: {{ $.Values.privacyPolicy.admin.contact | quote }} volumeMounts: - name: email-client-cert mountPath: /email-client-cert diff --git a/gate-teamware/values.yaml b/gate-teamware/values.yaml index 90b26cb..bb5b032 100644 --- a/gate-teamware/values.yaml +++ b/gate-teamware/values.yaml @@ -316,6 +316,20 @@ email: # client secret and "refresh-token" for the GMail API refresh token. secretName: "" +privacyPolicy: + # Contact details of the host and administrator of the teamware instance + host: + # Name of the host + name: "" + # Host's physical address + address: "" + # A method of contacting the host, field supports HTML for e.g. linking to a form + contact: "" + admin: + name: "" + address: "" + contact: "" + # Database settings - see the bitnami postgresql chart documentation for full # details postgresql: