Skip to content
This repository has been archived by the owner on Sep 23, 2024. It is now read-only.

Commit

Permalink
add configmap-oauth2proxy (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssb-jnk authored Oct 23, 2023
1 parent bc61ee5 commit 04a9bbd
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/datadoc/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.2.20
version: 0.2.21

dependencies:
- name: library-chart
Expand Down
1 change: 1 addition & 0 deletions charts/datadoc/templates/configmap-oauth2proxy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{{ include "library-chart.configMapOAuth2" . }}
8 changes: 6 additions & 2 deletions charts/datadoc/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ spec:
{{- else }}
emptyDir: {}
{{- end }}
{{- if .Values.security.oauth2.enabled }}
- {{ include "library-chart.oauth2ProxyVolume" . | indent 10 | trim }}
{{- end }}
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
Expand All @@ -61,8 +64,6 @@ spec:
value: "{{ .Values.service.image.version }}"
- name: DATADOC_DATASET_PATH
value: {{ .Values.dataset.dataset_path }}
- name: PASSWORD
value: {{ .Values.security.password }}
- name: PROJECT_USER
value: {{ .Values.environment.user }}
- name: PROJECT_GROUP
Expand All @@ -87,6 +88,9 @@ spec:
{{- toYaml .Values.startupProbe | nindent 12 }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- if .Values.security.oauth2.enabled }}
- {{ include "library-chart.oauth2ProxyPod" . | indent 10 | trim }}
{{ end }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand Down

0 comments on commit 04a9bbd

Please sign in to comment.