feat: manual only deployment

This commit is contained in:
2026-06-07 17:56:18 +02:00
parent 77f6fdb31b
commit 5fb6abb970
2 changed files with 28 additions and 4 deletions
+14 -3
View File
@@ -11,6 +11,7 @@ on:
- all - all
- airflow - airflow
- keycloak - keycloak
- keycloak-db
jobs: jobs:
deploy: deploy:
@@ -31,6 +32,7 @@ jobs:
run: | run: |
helm repo add apache-airflow https://airflow.apache.org helm repo add apache-airflow https://airflow.apache.org
helm repo add codecentric https://codecentric.github.io/helm-charts helm repo add codecentric https://codecentric.github.io/helm-charts
helm repo add bitnami https://charts.bitnami.com/bitnami
helm repo update helm repo update
- name: Deploy Airflow - name: Deploy Airflow
@@ -42,13 +44,22 @@ jobs:
--values helm/airflow/values.yaml \ --values helm/airflow/values.yaml \
--wait --wait
- name: Deploy Keycloak PostgreSQL
if: ${{ inputs.service == 'all' || inputs.service == 'keycloak' || inputs.service == 'keycloak-db' }}
run: |
helm upgrade --install keycloak-db oci://registry-1.docker.io/bitnamicharts/postgresql \
--namespace keycloak \
--create-namespace \
--set auth.username=keycloak \
--set auth.password=keycloak \
--set auth.database=keycloak \
--wait
- name: Deploy Keycloak - name: Deploy Keycloak
if: ${{ inputs.service == 'all' || inputs.service == 'keycloak' }} if: ${{ inputs.service == 'all' || inputs.service == 'keycloak' }}
run: | run: |
helm repo add codecentric https://codecentric.github.io/helm-charts
helm repo update
helm upgrade --install keycloak codecentric/keycloakx \ helm upgrade --install keycloak codecentric/keycloakx \
--namespace keycloak \ --namespace keycloak \
--create-namespace \ --create-namespace \
--values helm/keycloak/values.yaml \ --values helm/keycloak/values.yaml \
--wait
+14 -1
View File
@@ -12,7 +12,20 @@ extraEnv: |
- name: KC_PROXY - name: KC_PROXY
value: edge value: edge
- name: KC_DB - name: KC_DB
value: dev-file value: postgres
- name: KC_DB_URL
value: "jdbc:postgresql://keycloak-postgresql.keycloak.svc.cluster.local/keycloak"
- name: KC_DB_USERNAME
value: keycloak
- name: KC_DB_PASSWORD
value: keycloak
postgresql:
enabled: true
auth:
username: keycloak
password: keycloak
database: keycloak
ingress: ingress:
enabled: true enabled: true