refactor(test-values): replace inline keycloak resources with init container
General MR
Summary
This MR updates the test-values.yaml
for Big Bang to use an initContainer
for keycloak's test configuration instead of maintaining them inline in the yaml.
Relevant logs/screenshots
❯ kubectl logs -n keycloak pods/keycloak-keycloak-0 provision-test-data
+ curl -fsSL -o /opt/keycloak/conf/custom-registration-config.yaml https://repo1.dso.mil/big-bang/product/packages/keycloak/-/raw/main/docs/test-data/custom-registration-config.yaml
+ curl -fsSL -o /opt/keycloak/data/import/realm.json https://repo1.dso.mil/big-bang/product/packages/keycloak/-/raw/main/docs/test-data/realm.json
+ curl -fsSL -o /opt/keycloak/conf/quarkus.properties https://repo1.dso.mil/big-bang/product/packages/keycloak/-/raw/main/docs/test-data/quarkus.properties
+ ls -l /opt/keycloak/conf
total 8
-rw-r--r-- 1 2000 2000 3763 Sep 30 16:36 custom-registration-config.yaml
-rw-r--r-- 1 2000 2000 722 Sep 30 16:36 quarkus.properties
+ ls -l /opt/keycloak/data/import
total 148
-rw-r--r-- 1 2000 2000 147949 Sep 30 16:36 realm.json
Grafana
Prometheus
Linked Issue
Upgrade Notices
N/A
Edited by Zach Callahan