UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit 9750a6a5 authored by kevin.wilder's avatar kevin.wilder
Browse files

custom volumes for bigbang integration

parent 77d8d97d
No related branches found
No related tags found
1 merge request!541Resolve "Keycloak new release"
Pipeline #308279 passed
......@@ -53,7 +53,7 @@ secrets:
{{- end }}
{{- if and .Values.addons.keycloak.ingress.cert .Values.addons.keycloak.ingress.key }}
extraVolumes: |-
extraVolumesBigBang:
- name: tlscert
secret:
secretName: keycloak-tlscert
......@@ -61,7 +61,7 @@ extraVolumes: |-
secret:
secretName: keycloak-tlskey
extraVolumeMounts: |-
extraVolumeMountsBigBang:
- name: tlscert
mountPath: /etc/x509/https/tls.crt
subPath: tls.crt
......
......@@ -933,9 +933,10 @@ addons:
git:
repo: https://repo1.dso.mil/platform-one/big-bang/apps/security-tools/keycloak.git
path: "./chart"
tag: "11.0.0-bb.3"
tag: "11.0.0-bb.4"
# -- Certificate/Key pair to use as the certificate for exposing Keycloak
# Setting the ingress cert here will automatically create the volume and volumemounts in the Keycloak Package chart
ingress:
key: ""
cert: ""
......
......@@ -92,7 +92,6 @@ addons:
realm.json: |-
{insert realm.json content}
# Create volumes for each secret above
# NOTE: You **MUST** include the tlscert and tlskey volumes since you are overriding the entire key's value
extraVolumes: |-
- name: certauthority
secret:
......@@ -103,14 +102,7 @@ addons:
- name: realm
secret:
secretName: {{ include "keycloak.fullname" . }}-realm
- name: tlscert
secret:
secretName: {{ include "keycloak.fullname" . }}-tlscert
- name: tlskey
secret:
secretName: {{ include "keycloak.fullname" . }}-tlskey
# Volume mount each volume in the appropriate location
# NOTE: You **MUST** include the tlscert and tlskey volumes since you are overriding the entire key's value
extraVolumeMounts: |-
- name: certauthority
mountPath: /etc/x509/https/cas.pem
......@@ -124,15 +116,6 @@ addons:
mountPath: /opt/jboss/keycloak/realm.json
subPath: realm.json
readOnly: true
- name: tlscert
mountPath: /etc/x509/https/tls.crt
subPath: tls.crt
readOnly: true
- name: tlskey
mountPath: /etc/x509/https/tls.key
subPath: tls.key
readOnly: true
```
### Keycloak Admin password
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment