Since v.1.19 immutable ConfigMaps, which when created, can no longer be changed. For this change the following in the yaml:
apiVersion: v1 kind: ConfigMap metadata: ... data: ... immutable: true