Skip to content

Commit

Permalink
fix(keycloak-operator): proper indent for imagePullSecret in operand (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
hairmare authored Sep 29, 2023
1 parent 8f3fbf9 commit 329d723
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 16 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.1
version: 0.2.2
appVersion: "22.0.0"
home: https://www.keycloak.org
sources:
Expand All @@ -15,4 +15,4 @@ maintainers:
annotations:
artifacthub.io/changes: |
- kind: fixed
description: db templating indentation
description: impagePullSecret indentation
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.

2 changes: 1 addition & 1 deletion charts/keycloak-operator/templates/keycloak/keycloak.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ spec:
image: "{{ .Values.keycloak.image.repository | default .Values.operator.config.keycloakImage.repository }}:{{ .Values.keycloak.image.tag | default .Values.operator.config.keycloakImage.tag | default .Chart.AppVersion }}"
{{- end }}
{{- with .Values.keycloak.imagePullSecrets }}
imagePullSecrets: {{ . | toYaml }}
imagePullSecrets: {{ . | toYaml | nindent 4 }}
{{- end }}
{{- with .Values.keycloak.additionalOptions }}
additionalOptions: {{ . | toYaml }}
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.1
helm.sh/chart: keycloak-operator-0.2.2
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.1
helm.sh/chart: keycloak-operator-0.2.2
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.1
helm.sh/chart: keycloak-operator-0.2.2
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.1
helm.sh/chart: keycloak-operator-0.2.2
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.1
helm.sh/chart: keycloak-operator-0.2.2
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.1
helm.sh/chart: keycloak-operator-0.2.2
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.1
helm.sh/chart: keycloak-operator-0.2.2
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.1
helm.sh/chart: keycloak-operator-0.2.2
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.1
helm.sh/chart: keycloak-operator-0.2.2
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.1
helm.sh/chart: keycloak-operator-0.2.2
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.1
helm.sh/chart: keycloak-operator-0.2.2
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.1
helm.sh/chart: keycloak-operator-0.2.2
name: RELEASE-NAME-keycloak-operator-test
spec:
keycloakCRName: keycloak
Expand Down

0 comments on commit 329d723

Please sign in to comment.