Skip to content

Commit

Permalink
chore: Make QuickLink installation optional (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
daniil-nedostup committed Jan 16, 2025
1 parent 0f2d4a1 commit e80b23b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion deploy-templates/templates/gerrit/quickLink/keycloak.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{{- if .Values.gerrit.sso.enabled -}}
{{- if .Values.gerrit.sso.quickLink.enabled }}
apiVersion: v2.edp.epam.com/v1
kind: QuickLink
metadata:
Expand All @@ -9,4 +10,5 @@ spec:
type: default
url: "{{ .Values.gerrit.sso.keycloakUrl }}"
visible: true
{{ end }}
{{- end }}
{{- end }}
3 changes: 3 additions & 0 deletions deploy-templates/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,9 @@ gerrit:
sso:
# Create kind: KeycloakClient as a part of chart installation
enabled: true
# Enable creation of quick link for Keycloak
quickLink:
enabled: false
# Can be Realm or KeycloakRealm.
kind: KeycloakRealm
# Name of kind: Realm/KeycloakRealm CR.
Expand Down

0 comments on commit e80b23b

Please sign in to comment.