File tree Expand file tree Collapse file tree 9 files changed +120
-0
lines changed Expand file tree Collapse file tree 9 files changed +120
-0
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,17 @@ dependsOn:
1313 matchLabels :
1414 bundle : cnpg-system
1515targetCustomizations :
16+ - name : luan
17+ clusterSelector :
18+ matchExpressions :
19+ - key : management.cattle.io/cluster-display-name
20+ operator : In
21+ values :
22+ - ayekan
23+ yaml :
24+ overlays :
25+ - generic
26+ - ayekan
1627 - name : luan
1728 clusterSelector :
1829 matchExpressions :
Original file line number Diff line number Diff line change 1+ ---
2+ apiVersion : v1
3+ kind : Service
4+ metadata :
5+ name : keycloak-pg
6+ labels :
7+ cnpg.io/cluster : keycloak-pg
8+ annotations :
9+ metallb.universe.tf/loadBalancerIPs : 139.229.144.45
10+ spec :
11+ ports :
12+ - name : postgres
13+ port : 5432
14+ protocol : TCP
15+ selector :
16+ cnpg.io/cluster : keycloak-pg
17+ role : primary
18+ type : LoadBalancer
Original file line number Diff line number Diff line change 1+ apiVersion : external-secrets.io/v1beta1
2+ kind : ExternalSecret
3+ metadata :
4+ name : keycloak-realm-master
5+ namespace : keycloak
6+ spec :
7+ secretStoreRef :
8+ kind : ClusterSecretStore
9+ name : onepassword
10+ data :
11+ - secretKey : realm-master.json
12+ remoteRef :
13+ key : realm-master.json
14+ property : notesPlain
Original file line number Diff line number Diff line change @@ -21,6 +21,16 @@ dependsOn:
2121 matchLabels :
2222 bundle : keycloak-pg
2323targetCustomizations :
24+ - name : ayekan
25+ clusterSelector :
26+ matchExpressions :
27+ - key : management.cattle.io/cluster-display-name
28+ operator : In
29+ values :
30+ - ayekan
31+ helm :
32+ valuesFiles :
33+ - overlays/ayekan/values.yaml
2434 - name : luan
2535 clusterSelector :
2636 matchExpressions :
Original file line number Diff line number Diff line change 1+ ---
2+ replicaCount : 3
3+
4+ resources :
5+ limits :
6+ cpu : 1000m
7+ memory : 2Gi
8+ requests :
9+ cpu : 500m
10+ memory : 1Gi
11+
12+ extraEnvVars :
13+ - name : KC_HEALTH_ENABLED
14+ value : " true"
15+ - name : KEYCLOAK_LOGLEVEL
16+ value : INFO
17+ - name : KEYCLOAK_PRODUCTION
18+ value : " true"
19+ - name : KEYCLOAK_PROXY
20+ value : edge
21+ - name : KC_HOSTNAME
22+ value : keycloak.${ get .ClusterLabels "management.cattle.io/cluster-display-name" }.${ .ClusterLabels.site }.lsst.org
23+ - name : KC_HOSTNAME_STRICT
24+ value : " true"
25+ - name : KC_HOSTNAME_STRICT_HTTPS
26+ value : " true"
27+ - name : KC_HTTP_ENABLED
28+ value : " false"
29+ - name : KEYCLOAK_REGISTRATION
30+ value : " false"
31+
32+ ingress :
33+ enabled : true
34+ ingressClassName : nginx
35+ servicePort : http
36+ tls : true
37+ hostname : keycloak.${ get .ClusterLabels "management.cattle.io/cluster-display-name" }.${ .ClusterLabels.site }.lsst.org
38+ annotations :
39+ cert-manager.io/cluster-issuer : letsencrypt
40+ nginx.ingress.kubernetes.io/force-ssl-redirect : " true"
41+ nginx.ingress.kubernetes.io/ssl-redirect : " true"
42+ nginx.ingress.kubernetes.io/configuration-snippet : |
43+ more_set_headers "Strict-Transport-Security: max-age=63072000; includeSubDomains; preload";
44+ more_set_headers "X-Frame-Options: DENY";
45+ more_set_headers "X-Content-Type-Options: nosniff";
46+ more_set_headers "Referrer-Policy: no-referrer";
47+ more_set_headers "Content-Security-Policy: frame-ancestors 'none';";
48+
49+ auth :
50+ adminUser : rubinobs
51+ existingSecret : keycloak-admin
52+ passwordSecretKey : password
53+
54+ postgresql :
55+ enabled : false
56+
57+ externalDatabase :
58+ host : keycloak-pg.keycloak-pg.svc.cluster.local
59+ port : 5432
60+ user : keycloak
61+ database : keycloak
62+ existingSecret : keycloak-pg
63+ existingSecretPasswordKey : password
Original file line number Diff line number Diff line change 1+ ../../../../lib/cnpg-system
Original file line number Diff line number Diff line change 1+ ../../../../lib/keycloak
Original file line number Diff line number Diff line change 1+ ../../../../lib/keycloak-pg
Original file line number Diff line number Diff line change 1+ ../../../../lib/keycloak-pre
You can’t perform that action at this time.
0 commit comments