Skip to content

Commit

Permalink
feat(chart): update chart
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Becker <[email protected]>
  • Loading branch information
sbckr committed Nov 15, 2024
1 parent a3c6568 commit 8e4318c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
6 changes: 6 additions & 0 deletions amphora-service/charts/amphora/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ spec:
value: {{ .Values.amphora.springActiveProfiles }}
- name: CASTOR_SERVICE_URI
value: "{{ .Values.amphora.castor.serviceUri }}"
- name: AMPHORA_USER_ID_FIELD_NAME
value: "{{ .Values.auth.userIdFieldName }}"
- name: AMPHORA_OPA_DEFAULT_POLICY_PACKAGE
value: "{{ .Values.opa.defaultPolicyPackage }}"
- name: AMPHORA_OPA_URL
value: "{{ .Values.opa.endpoint }}"
- name: MAC_KEY
value: "{{ .Values.spdz.macKey }}"
- name: SPDZ_PRIME
Expand Down
7 changes: 7 additions & 0 deletions amphora-service/charts/amphora/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,10 @@ spdz:
prime: ""
r: ""
rInv: ""

auth:
userIdFieldName: "sub"

opa:
defaultPolicyPackage: "default"
endpoint: "http://opa.default.svc.cluster.local:8081/"

0 comments on commit 8e4318c

Please sign in to comment.