Describe the bug:
Setting annotations for Service Account in Helm chart fails when using boolean.
Example:
eks.amazonaws.com/sts-regional-endpoints: true
This fails in ArgoCD with error
unable to decode "/dev/shm/1474109075": json: cannot unmarshal bool into Go struct field ObjectMeta.metadata.annotations of type string
Expected behaviour:
True should be rendered with quotes
eks.amazonaws.com/sts-regional-endpoints: "true"
Steps to reproduce the bug:
Create ArgoCD with cert-manager helm chart and set this parameters:
parameters:
- name: serviceAccount.annotations.eks\.amazonaws\.com/role-arn
value: arn-of-the-role
- name: serviceAccount.annotations.eks\.amazonaws\.com/sts-regional-endpoints
value: "true"
forceString: true
or
helm:
valuesObject:
crds:
enabled: true
serviceAccount:
annotations:
eks.amazonaws.com/role-arn: "arn:aws:iam::11111111111:role/arn-of-the-role"
eks.amazonaws.com/sts-regional-endpoints: "true"
Anything else we need to know?:
Environment details:
- Kubernetes version: 1.31
- Cloud-provider/provisioner:
- cert-manager version: 1.17.0
- Install method: Helm with ArgoCD
/kind bug
Describe the bug:
Setting annotations for Service Account in Helm chart fails when using boolean.
Example:
This fails in ArgoCD with error
Expected behaviour:
True should be rendered with quotes
Steps to reproduce the bug:
Create ArgoCD with cert-manager helm chart and set this parameters:
or
Anything else we need to know?:
Environment details:
/kind bug