diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index cfd815bb2916855fb6bc46d2f583b7a6c53eb920..c5253099677e2cdf03218bee1b4c5c598c6468bb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,4 +1,4 @@ include: - project: 'platform-one/big-bang/pipeline-templates/pipeline-templates' ref: master - file: '/pipelines/bigbang.yaml' \ No newline at end of file + file: '/pipelines/bigbang.yaml' diff --git a/tests/test-values.yaml b/tests/test-values.yaml index 98d89512bc6eee141b774594874dac94be56e0e2..286f378758e947818f834c1886712efe8a25ebb4 100644 --- a/tests/test-values.yaml +++ b/tests/test-values.yaml @@ -988,10 +988,48 @@ addons: limits: {} # Disabling helm tests for keycloak until they are working on rke2 bbtests: - enabled: false + enabled: true cypress: envs: cypress_url: "https://keycloak.bigbang.dev" + secrets: + env: + stringData: + CUSTOM_REGISTRATION_CONFIG: /opt/jboss/keycloak/customreg.yaml + KEYCLOAK_IMPORT: /opt/jboss/keycloak/realm.json + X509_CA_BUNDLE: /etc/x509/https/cas.pem + certauthority: + stringData: + cas.pem: '{{ .Files.Get "resources/dev/dod_cas.pem" }}' + customreg: + stringData: + customreg.yaml: '{{ .Files.Get "resources/dev/baby-yoda.yaml" }}' + realm: + stringData: + realm.json: '{{ .Files.Get "resources/dev/baby-yoda.json" }}' + extraVolumes: |- + - name: certauthority + secret: + secretName: {{ include "keycloak.fullname" . }}-certauthority + - name: customreg + secret: + secretName: {{ include "keycloak.fullname" . }}-customreg + - name: realm + secret: + secretName: {{ include "keycloak.fullname" . }}-realm + extraVolumeMounts: |- + - name: certauthority + mountPath: /etc/x509/https/cas.pem + subPath: cas.pem + readOnly: true + - name: customreg + mountPath: /opt/jboss/keycloak/customreg.yaml + subPath: customreg.yaml + readOnly: true + - name: realm + mountPath: /opt/jboss/keycloak/realm.json + subPath: realm.json + readOnly: true vault: enabled: false