fix: update dex

This commit is contained in:
2024-01-31 18:29:21 +01:00
parent 326c3a8993
commit a30d4ceffa
6 changed files with 39 additions and 22 deletions
@@ -20,7 +20,7 @@ spec:
project: atlantis project: atlantis
destination: destination:
server: https://kubernetes.default.svc server: https://kubernetes.default.svc
namespace: atlantis namespace: idp
source: source:
- repoURL: https://charts.dexidp.io - repoURL: https://charts.dexidp.io
targetRevision: 0.16.0 targetRevision: 0.16.0
@@ -28,7 +28,8 @@ spec:
helm: helm:
valueFiles: valueFiles:
- $values/dex/values.yaml - $values/dex/values.yaml
- $values/dex/{{ env }}-values.yaml
- repoURL: https://gitlab.com/oceanbox/manifests.git - repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: HEAD targetRevision: HEAD
path: cerbos/manifests path: dex/manifests
ref: values ref: values
@@ -2,7 +2,6 @@ apiVersion: v1
kind: Secret kind: Secret
metadata: metadata:
name: dex name: dex
namespace: atlantis
type: Opaque type: Opaque
stringData: stringData:
config.yaml: | config.yaml: |
@@ -4,7 +4,7 @@ metadata:
name: pv-oceanbox-dex name: pv-oceanbox-dex
spec: spec:
accessModes: accessModes:
- ReadWriteOnce - ReadOnlyMany
capacity: capacity:
storage: 50M storage: 50M
mountOptions: mountOptions:
@@ -20,10 +20,9 @@ apiVersion: v1
kind: PersistentVolumeClaim kind: PersistentVolumeClaim
metadata: metadata:
name: oceanbox-dex name: oceanbox-dex
namespace: atlantis
spec: spec:
accessModes: accessModes:
- ReadWriteOnce - ReadOnlyMany
resources: resources:
requests: requests:
storage: 50M storage: 50M
+17
View File
@@ -0,0 +1,17 @@
ingress:
enabled: true
className: nginx
annotations:
cert-manager.io/cluster-issuer: letsencrypt-staging
nginx.ingress.kubernetes.io/ssl-redirect: "true"
hosts:
- host: idp.srv.oceanbox.io
paths:
- path: /
pathType: ImplementationSpecific
tls:
- secretName: prod-dex-tls
hosts:
- idp.srv.oceanbox.io
+17
View File
@@ -0,0 +1,17 @@
ingress:
enabled: true
className: nginx
annotations:
cert-manager.io/cluster-issuer: letsencrypt-staging
nginx.ingress.kubernetes.io/ssl-redirect: "true"
hosts:
- host: idp.beta.oceanbox.io
paths:
- path: /
pathType: ImplementationSpecific
tls:
- secretName: staging-dex-tls
hosts:
- idp.beta.oceanbox.io
-16
View File
@@ -33,21 +33,5 @@ service:
port: 5557 port: 5557
nodePort: nodePort:
ingress:
enabled: true
className: nginx
annotations:
cert-manager.io/cluster-issuer: letsencrypt-staging
nginx.ingress.kubernetes.io/ssl-redirect: "true"
hosts:
- host: idp.srv.oceanbox.io
paths:
- path: /
pathType: ImplementationSpecific
tls:
- secretName: dex-tls
hosts:
- idp.srv.oceanbox.io
serviceMonitor: serviceMonitor:
enabled: true enabled: true