diff --git a/charts/ratify/templates/deployment.yaml b/charts/ratify/templates/deployment.yaml index e42ed6922..912eda48a 100644 --- a/charts/ratify/templates/deployment.yaml +++ b/charts/ratify/templates/deployment.yaml @@ -14,7 +14,7 @@ spec: metadata: labels: {{- include "ratify.selectorLabels" . | nindent 8 }} - {{- if .Values.oras.authProviders.azureWorkloadIdentityEnabled }} + {{- if ne .Values.azureWorkloadIdentity.clientId "" }} azure.workload.identity/use: "true" {{- end }} annotations: