Skip to content

Commit

Permalink
add teamware privacy policy variables
Browse files Browse the repository at this point in the history
  • Loading branch information
davidwilby committed Mar 2, 2023
1 parent 980d67f commit 466fa4f
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 0 deletions.
7 changes: 7 additions & 0 deletions gate-teamware/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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**
Expand Down
13 changes: 13 additions & 0 deletions gate-teamware/templates/deployment-backend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
14 changes: 14 additions & 0 deletions gate-teamware/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 466fa4f

Please sign in to comment.