Skip to content

Commit

Permalink
fix(keycloak-operator): proper indenting for podTemplate and addition…
Browse files Browse the repository at this point in the history
…alOptions (#1103)
  • Loading branch information
hairmare authored Oct 3, 2023
1 parent 329d723 commit e532335
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 17 deletions.
4 changes: 2 additions & 2 deletions charts/keycloak-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: keycloak-operator
description: Deploy Keycloak Operator and Keycloak
type: application
version: 0.2.2
version: 0.2.3
appVersion: "22.0.0"
home: https://www.keycloak.org
sources:
Expand All @@ -15,4 +15,4 @@ maintainers:
annotations:
artifacthub.io/changes: |
- kind: fixed
description: impagePullSecret indentation
description: podTemplate and additionalOptions indent fix
2 changes: 1 addition & 1 deletion charts/keycloak-operator/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions charts/keycloak-operator/templates/keycloak/keycloak.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ spec:
{{- with .Values.keycloak.unsupported.podTemplate }}
unsupported:
# You can configure pod settings that will be merged with the one configured by default by the operator.
podTemplate: {{ . | toYaml }}
podTemplate: {{ . | toYaml | nindent 6 }}
{{- end }}
{{- if .Values.keycloak.ingress.enabled }}
ingress:
Expand All @@ -76,7 +76,7 @@ spec:
imagePullSecrets: {{ . | toYaml | nindent 4 }}
{{- end }}
{{- with .Values.keycloak.additionalOptions }}
additionalOptions: {{ . | toYaml }}
additionalOptions: {{ . | toYaml | nindent 4 }}
{{- end }}
{{- if or .Values.keycloak.db.url (and .Values.keycloak.db.host .Values.keycloak.db.port .Values.keycloak.db.database ) }}
db:
Expand Down
20 changes: 10 additions & 10 deletions charts/keycloak-operator/tests/__snapshot__/default_test.yaml.snap
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ should match snapshot:
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: keycloak-operator
app.kubernetes.io/version: 22.0.0
helm.sh/chart: keycloak-operator-0.2.2
helm.sh/chart: keycloak-operator-0.2.3
name: keycloakcontroller-cluster-role
rules:
- apiGroups:
Expand All @@ -36,7 +36,7 @@ should match snapshot:
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: keycloak-operator
app.kubernetes.io/version: 22.0.0
helm.sh/chart: keycloak-operator-0.2.2
helm.sh/chart: keycloak-operator-0.2.3
name: keycloakrealmimportcontroller-cluster-role
rules:
- apiGroups:
Expand All @@ -63,7 +63,7 @@ should match snapshot:
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: keycloak-operator
app.kubernetes.io/version: 22.0.0
helm.sh/chart: keycloak-operator-0.2.2
helm.sh/chart: keycloak-operator-0.2.3
name: RELEASE-NAME-keycloak-operator-operator
spec:
replicas: 1
Expand Down Expand Up @@ -128,7 +128,7 @@ should match snapshot:
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: keycloak-operator
app.kubernetes.io/version: 22.0.0
helm.sh/chart: keycloak-operator-0.2.2
helm.sh/chart: keycloak-operator-0.2.3
name: keycloak-operator-role-binding
roleRef:
apiGroup: rbac.authorization.k8s.io
Expand All @@ -147,7 +147,7 @@ should match snapshot:
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: keycloak-operator
app.kubernetes.io/version: 22.0.0
helm.sh/chart: keycloak-operator-0.2.2
helm.sh/chart: keycloak-operator-0.2.3
name: keycloak-operator-view
roleRef:
apiGroup: rbac.authorization.k8s.io
Expand All @@ -166,7 +166,7 @@ should match snapshot:
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: keycloak-operator
app.kubernetes.io/version: 22.0.0
helm.sh/chart: keycloak-operator-0.2.2
helm.sh/chart: keycloak-operator-0.2.3
name: keycloakcontroller-role-binding
roleRef:
apiGroup: rbac.authorization.k8s.io
Expand All @@ -185,7 +185,7 @@ should match snapshot:
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: keycloak-operator
app.kubernetes.io/version: 22.0.0
helm.sh/chart: keycloak-operator-0.2.2
helm.sh/chart: keycloak-operator-0.2.3
name: keycloakrealmimportcontroller-role-binding
roleRef:
apiGroup: rbac.authorization.k8s.io
Expand All @@ -204,7 +204,7 @@ should match snapshot:
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: keycloak-operator
app.kubernetes.io/version: 22.0.0
helm.sh/chart: keycloak-operator-0.2.2
helm.sh/chart: keycloak-operator-0.2.3
name: keycloak-operator-role
rules:
- apiGroups:
Expand Down Expand Up @@ -267,7 +267,7 @@ should match snapshot:
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: keycloak-operator
app.kubernetes.io/version: 22.0.0
helm.sh/chart: keycloak-operator-0.2.2
helm.sh/chart: keycloak-operator-0.2.3
name: RELEASE-NAME-keycloak-operator-operator
spec:
ports:
Expand All @@ -290,5 +290,5 @@ should match snapshot:
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: keycloak-operator
app.kubernetes.io/version: 22.0.0
helm.sh/chart: keycloak-operator-0.2.2
helm.sh/chart: keycloak-operator-0.2.3
name: RELEASE-NAME-keycloak-operator
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ should match snapshot:
app.kubernetes.io/component: keycloak
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/version: 22.0.0
helm.sh/chart: keycloak-operator-0.2.2
helm.sh/chart: keycloak-operator-0.2.3
name: keycloak
spec:
features:
Expand Down Expand Up @@ -35,7 +35,7 @@ should match snapshot:
labels:
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/version: 22.0.0
helm.sh/chart: keycloak-operator-0.2.2
helm.sh/chart: keycloak-operator-0.2.3
name: RELEASE-NAME-keycloak-operator-test
spec:
keycloakCRName: keycloak
Expand Down

0 comments on commit e532335

Please sign in to comment.