Skip to content

Commit

Permalink
fix: typos (#105)
Browse files Browse the repository at this point in the history
  • Loading branch information
matteogastaldello authored Jan 30, 2025
1 parent d0f56e8 commit 2ef3a89
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions chart/assets/cdc/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ metadata:
app.kubernetes.io/part-of: krateoplatformops
app.kubernetes.io/managed-by: krateo
spec:
{{- if not .Values.autoscaling.enabled }}
{{- if not .Values.cdc.autoscaling.enabled }}
replicas: {{ .Values.cdc.replicaCount }}
{{- end }}
selector:
Expand All @@ -25,16 +25,16 @@ spec:
spec:
serviceAccountName: {{ "{{" }} .name {{ "}}" }}
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
{{- toYaml .Values.cdc.podSecurityContext | nindent 8 }}
containers:
- name: {{ "{{" }} .resource {{ "}}" }}-{{ "{{" }} .apiVersion {{ "}}" }}-controller
image: "{{ .Values.cdc.image.repository }}:{{ .Values.cdc.image.tag | default "0.15.3" }}"
imagePullPolicy: {{ .Values.cdc.image.pullPolicy }}
envFrom:
- configMapRef:
name: {{ "{{" }} .resource {{ "}}" }}-{{ "{{" }} .apiVersion {{ "}}" }}-cdc-configmap
name: {{ include "core-provider.fullname" . }}-cdc-configmap
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
{{- toYaml .Values.cdc.securityContext | nindent 12 }}
args:
- -debug
- -group={{ "{{" }} .apiGroup {{ "}}" }}
Expand Down
4 changes: 2 additions & 2 deletions chart/templates/configmap-cdc.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "core-provider.fullname" . }}-cdc
name: {{ include "core-provider.fullname" . }}-cdc-configmap
labels:
{{- include "core-provider.labels" . | nindent 4 }}
data:
HOME: /tmp # home should be set to /tmp or any other writable directory to avoid permission issues with helm https://github.com/helm/helm/issues/8038
{{- range $key, $value := .Values.env }}
{{- range $key, $value := .Values.cdc.env }}
{{ $key }}: {{ $value | quote }}
{{- end }}

0 comments on commit 2ef3a89

Please sign in to comment.