diff --git a/outline/Chart.yaml b/outline/Chart.yaml index 7b57c68..fe05269 100644 --- a/outline/Chart.yaml +++ b/outline/Chart.yaml @@ -4,7 +4,7 @@ description: A Helm chart to deploy Outline on Kubernetes type: application -version: 1.1.0+up1.6.1 +version: 1.2.0+up1.6.1 appVersion: "1.6.1" maintainers: diff --git a/outline/templates/outline.service.yaml b/outline/templates/outline.service.yaml index 4c42512..a5cfa09 100644 --- a/outline/templates/outline.service.yaml +++ b/outline/templates/outline.service.yaml @@ -4,7 +4,7 @@ metadata: name: {{ .Release.Name }}-{{ .Chart.Name }}-service spec: selector: - app: {{ .Release.Name }}-{{ .Chart.Name }}-deployment + app: {{ .Release.Name }}-{{ .Chart.Name }}-sfs ports: - protocol: TCP port: 80 diff --git a/outline/templates/outline.sfs.yaml b/outline/templates/outline.sfs.yaml index d329281..d2529d4 100644 --- a/outline/templates/outline.sfs.yaml +++ b/outline/templates/outline.sfs.yaml @@ -55,6 +55,23 @@ spec: value: "local" - name: FILE_STORAGE_LOCAL_ROOT_DIR value: "/outline-data/data" + - name: OIDC_ISSUER_URL + valueFrom: + secretKeyRef: + name: {{ .Release.Name }}-{{ .Chart.Name }}-secret + key: discovery-url + - name: OIDC_CLIENT_ID + valueFrom: + secretKeyRef: + name: {{ .Release.Name }}-{{ .Chart.Name }}-secret + key: client-id + - name: OIDC_CLIENT_SECRET + valueFrom: + secretKeyRef: + name: {{ .Release.Name }}-{{ .Chart.Name }}-secret + key: client-secret + - name: OIDC_DISPLAY_NAME + value: "{{ .Values.outline.oidc.displayName }}" ports: - containerPort: 80 protocol: TCP diff --git a/outline/values.yaml b/outline/values.yaml index b7d0b29..b01f347 100644 --- a/outline/values.yaml +++ b/outline/values.yaml @@ -3,6 +3,8 @@ secrets: redisSecretRef: null dbSecretRef: null outline: + oidc: + displayName: OIDC storage: size: 10Gi storageClass: null