Skip to content

Commit

Permalink
add keycloak, k8ssandra-operator and openebs helm chart (#722)
Browse files Browse the repository at this point in the history
* add keycloak chart

* pull keycloakx chart

* debug

* put k8ssandra-operator chart

* use direct echo command

* figure out correct syntax

* add keycloakx and openebs

* add keycloakx sample values

* rename keycloakx values file

* use empty map

* pass value directly

* check if we still need hardcoded values

* add coturn example values

* fix template values

* add values for restund

* pr cleanup

* remove unused var for coturn

* remove unused var from restund values
  • Loading branch information
amitsagtani97 authored Aug 7, 2024
1 parent 7a8d589 commit 2d83a76
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 3 deletions.
2 changes: 0 additions & 2 deletions nix/scripts/list-helm-containers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ while IFS= read -r chart; do
echo "Running helm template on chart ${chart}" >&2
# The image values are left as-is
helm template --debug "$chart" \
--set secrets.zrestSecret=emptyString \
--set secrets.zrestSecrets={} \
--set federate.dtls.tls.key=emptyString \
--set federate.dtls.tls.crt=emptyString \
$( [[ -f ./values/$(basename $chart)/prod-values.example.yaml ]] && echo "-f ./values/$(basename $chart)/prod-values.example.yaml" ) \
Expand Down
6 changes: 5 additions & 1 deletion offline/ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,13 @@ wire_build_chart_release () {
| map("\(.key) \(.value.repo) \(.value.version)")
| join("\n")
'
# Will be removed once these are added to the build.json through helm-charts repo
echo "k8ssandra-operator https://helm.k8ssandra.io/stable 1.15.0"
echo "keycloakx https://codecentric.github.io/helm-charts 2.3.0"
echo "openebs https://openebs.github.io/charts 3.10.0"
}


# pull_charts() accepts charts in format
# <chart-name> <repo-url> <chart-version>
# on stdin
Expand Down Expand Up @@ -195,7 +200,6 @@ pull_charts() {
helm repo add "$repo_short_name" "$repo"
helm repo update "$repo_short_name"
fi

(cd ./charts; helm pull --version "$version" --untar "$repo_short_name/$name")
done
echo "Pulling charts done."
Expand Down
3 changes: 3 additions & 0 deletions values/coturn/prod-values.example.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
secrets:
zrestSecrets:
- ""
43 changes: 43 additions & 0 deletions values/keycloakx/prod-values.example.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# command:
# - "/opt/keycloak/bin/kc.sh"
# - "start"
# - "--http-enabled=true"
# - "--http-port=8080"
# - "--hostname-strict=false"
# - "--hostname-strict-https=true"

# extraEnv:
# - name: "JAVA_OPTS_APPEND"
# value: "-Djgroups.dns.query=keycloak-headless"
# - name: "KEYCLOAK_ADMIN"
# value: "admin"
# - name: "KEYCLOAK_ADMIN_PASSWORD"
# value: "admin"

# database:
# vendor: "postgres"
# hostname: "keycloak-postgres-postgresql"
# port: "5432"
# username: "keycloak"
# password: "keycloak"

# ingress:
# enabled: true
# ingressClassName: "nginx"
# rules:
# - host: "keycloak.example.com"
# paths:
# - path: "{{ tpl .Values.http.relativePath $ | trimSuffix \"/\" }}/"
# pathType: "Prefix"
# tls:
# - hosts:
# - "keycloak.example.com"
# secretName: "ingress_cert_secret_name"
# console:
# enabled: true
# ingressClassName: "nginx"
# rules:
# - host: "keycloak.example.com"
# paths:
# - path: "{{ tpl .Values.http.relativePath $ | trimSuffix \"/\" }}/admin"
# pathType: "Prefix"
2 changes: 2 additions & 0 deletions values/restund/prod-values.example.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
secrets:
zrestSecret: ""

0 comments on commit 2d83a76

Please sign in to comment.