<p>I can install bitnami/redis with this helm command:</p>
<pre><code>helm upgrade --install &quot;my-release&quot; bitnami/redis \
     --set auth.existingSecret=redis-key \
     --set metrics.enabled=true \
     --set metrics.podAnnotations.release=prom \
     --set master.podAnnotations.&quot;linkerd\.io/inject&quot;=enabled \
     --set replica.podAnnotations.&quot;linkerd\.io/inject&quot;=enabled
</code></pre>
<p>Now I want to install it using <a href="https://argoproj.github.io/argo-cd/operator-manual/declarative-setup/" rel="nofollow noreferrer">ArgoCD Manifest</a>.</p>
<pre><code>project: default
source:
  repoURL: 'https://charts.bitnami.com/bitnami'
  targetRevision: 14.1.1
  helm:
    valueFiles:
      - values.yaml
    parameters:
      - name: metrics.enabled
        value: 'true'
      - name: metrics.podAnnotations.release
        value: 'prom'
      - name: master.podAnnotations.linkerd.io/inject
        value: enabled
      - name: replica.podAnnotations.linkerd.io/inject
        value: enabled
      - name: auth.existingSecret
        value: redis-key
  chart: redis
destination:
  server: 'https://kubernetes.default.svc'
  namespace: default
syncPolicy: {}
</code></pre>
<p>But I'm getting validation error because of <code>master.podAnnotations.linkerd.io/inject</code> and <code>replica.podAnnotations.linkerd.io/inject</code></p>
<pre><code>error validating data: ValidationError(StatefulSet.spec.template.metadata.annotations.&quot;linkerd): invalid type for io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta.annotations: got &quot;map&quot;, expected &quot;string&quot;

error validating data: ValidationError(StatefulSet.spec.template.metadata.annotations.&quot;linkerd): invalid type for io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta.annotations: got &quot;map&quot;, expected &quot;string&quot;


</code></pre>
<p>If I remove these two annotation settings the app can be installed.
I've tried <code>master.podAnnotations.&quot;linkerd.io\/inject&quot;</code>, but it doesn't work. I guess it has something to do with the &quot;.&quot; or &quot;/&quot;. Can anyone help me solve this issue?</p>

<p>Look at <a href="https://argoproj.github.io/argo-cd/operator-manual/application.yaml" rel="nofollow noreferrer">this example</a>, parameters containing dots need to be escaped.</p>
