diff --git a/apps/charts/bytestash/templates/client.yaml b/apps/charts/bytestash/templates/client.yaml deleted file mode 100644 index 60befa2..0000000 --- a/apps/charts/bytestash/templates/client.yaml +++ /dev/null @@ -1,10 +0,0 @@ -apiVersion: homelab.mortenolsen.pro/v1 -kind: OidcClient -metadata: - name: '{{ .Release.Name }}' -spec: - environment: '{{ .Values.globals.environment }}' - redirectUris: - - path: /api/auth/oidc/callback - subdomain: '{{ .Values.subdomain }}' - matchingMode: strict diff --git a/apps/charts/bytestash/values.yaml b/apps/charts/bytestash/values.yaml index f20c4a3..2678405 100644 --- a/apps/charts/bytestash/values.yaml +++ b/apps/charts/bytestash/values.yaml @@ -12,9 +12,13 @@ deployment: # Container configuration container: - port: 5000 + ports: + - name: http + port: 5000 + protocol: TCP healthProbe: type: tcpSocket + port: http # Service configuration service: @@ -44,6 +48,7 @@ oidc: enabled: true redirectUris: - "/api/auth/oidc/callback" + subjectMode: user_username # Environment variables env: @@ -54,15 +59,15 @@ env: OIDC_CLIENT_ID: valueFrom: secretKeyRef: - name: "{release}-client" + name: "{release}-oidc-credentials" key: clientId OIDC_CLIENT_SECRET: valueFrom: secretKeyRef: - name: "{release}-client" + name: "{release}-oidc-credentials" key: clientSecret OIDC_ISSUER_URL: valueFrom: secretKeyRef: - name: "{release}-client" - key: configurationIssuer + name: "{release}-oidc-credentials" + key: issuer