Skip to content

Commit

Permalink
remove auth machine secret where no longer needed (#412)
Browse files Browse the repository at this point in the history
  • Loading branch information
wkloucek authored Oct 18, 2023
1 parent 4b4f5cc commit 7ea2b53
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 35 deletions.
6 changes: 0 additions & 6 deletions charts/ocis/templates/graph/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -192,12 +192,6 @@ spec:
value: {{ .Values.features.quotas.default | quote }}
{{- end }}

- name: USERLOG_MACHINE_AUTH_API_KEY
valueFrom:
secretKeyRef:
name: {{ include "secrets.machineAuthAPIKeySecret" . }}
key: machine-auth-api-key

{{- if .Values.features.gdprReport.integrations.keycloak.enabled }}
- name: GRAPH_KEYCLOAK_BASE_PATH
value: {{ .Values.features.gdprReport.integrations.keycloak.basePath | quote }}
Expand Down
6 changes: 0 additions & 6 deletions charts/ocis/templates/notifications/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,6 @@ spec:
{{- end }}
{{- end }}

- name: NOTIFICATIONS_MACHINE_AUTH_API_KEY
valueFrom:
secretKeyRef:
name: {{ include "secrets.machineAuthAPIKeySecret" . }}
key: machine-auth-api-key

- name: NOTIFICATIONS_SERVICE_ACCOUNT_ID
valueFrom:
configMapKeyRef:
Expand Down
6 changes: 0 additions & 6 deletions charts/ocis/templates/ocs/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,6 @@ spec:
name: {{ include "secrets.jwtSecret" . }}
key: jwt-secret

- name: OCS_MACHINE_AUTH_API_KEY
valueFrom:
secretKeyRef:
name: {{ include "secrets.machineAuthAPIKeySecret" . }}
key: machine-auth-api-key

{{- include "ocis.cors" . |nindent 12 }}

{{- include "ocis.livenessProbe" . | nindent 10 }}
Expand Down
5 changes: 0 additions & 5 deletions charts/ocis/templates/policies/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,6 @@ spec:
secretKeyRef:
name: {{ include "secrets.jwtSecret" $ }}
key: jwt-secret
- name: POLICIES_MACHINE_AUTH_API_KEY
valueFrom:
secretKeyRef:
name: {{ include "secrets.machineAuthAPIKeySecret" . }}
key: machine-auth-api-key

- name: POLICIES_DEBUG_PPROF
value: {{ .Values.debug.profiling | quote }}
Expand Down
6 changes: 0 additions & 6 deletions charts/ocis/templates/search/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,6 @@ spec:
name: {{ include "secrets.jwtSecret" . }}
key: jwt-secret

- name: SEARCH_MACHINE_AUTH_API_KEY
valueFrom:
secretKeyRef:
name: {{ include "secrets.machineAuthAPIKeySecret" . }}
key: machine-auth-api-key

- name: SEARCH_SERVICE_ACCOUNT_ID
valueFrom:
configMapKeyRef:
Expand Down
6 changes: 0 additions & 6 deletions charts/ocis/templates/storageusers/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -132,12 +132,6 @@ spec:
- name: STORAGE_USERS_PURGE_TRASH_BIN_PROJECT_DELETE_BEFORE
value: {{ .Values.services.storageusers.maintenance.purgeExpiredTrashBinItems.projectDeleteBefore | quote }}

- name: OCIS_MACHINE_AUTH_API_KEY
valueFrom:
secretKeyRef:
name: {{ include "secrets.machineAuthAPIKeySecret" . }}
key: machine-auth-api-key

- name: STORAGE_USERS_SERVICE_ACCOUNT_ID
valueFrom:
configMapKeyRef:
Expand Down

0 comments on commit 7ea2b53

Please sign in to comment.