Skip to content

Commit

Permalink
bug: fix config map entry on deployment (#61)
Browse files Browse the repository at this point in the history
this must be `configMap`, when manually editing the deployment and
adding a `configmap` entry the api reports the following error:

```
decoding error: unknown field "spec.template.spec.volumes[3].configmap"
```
  • Loading branch information
ricardomaraschini authored Sep 13, 2024
1 parent 9bd6db2 commit dd33ab3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/kotsadm-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ spec:
- emptyDir: {}
name: tmp
{{- if .Values.privateCAs.enabled }}
- configmap:
- configMap:
name: "{{ .Values.privateCAs.configmapName }}"
optional: true
name: kotsadm-private-cas
Expand Down

0 comments on commit dd33ab3

Please sign in to comment.