You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have installed helm csi driver with sync.secret enabled set to true. The SecretProviderClass has secretObjectName and pods have mounts .
SecretProviderClass:
apiVersion: secrets-store.csi.x-k8s.io/v1alpha1
kind: SecretProviderClass
metadata:
name: xyz-job-spc
namespace: ${ENV_NAME}
spec:
provider: gcp
parameters:
ClusterRole: secretprovidersyncing-role
secrets: |
I have installed helm csi driver with sync.secret enabled set to true. The SecretProviderClass has secretObjectName and pods have mounts .
SecretProviderClass:
apiVersion: secrets-store.csi.x-k8s.io/v1alpha1
kind: SecretProviderClass
metadata:
name: xyz-job-spc
namespace: ${ENV_NAME}
spec:
provider: gcp
parameters:
ClusterRole: secretprovidersyncing-role
secrets: |
fileName: "key.txt"
secretObjects:
objectName: key.txt
secretName: xyz-secret
type: Opaque
Pod Spec:
serviceAccountName: csi
restartPolicy: Never
volumes:
- name: xyz-secret
csi:
driver: secrets-store.csi.k8s.io
readOnly: true
volumeAttributes:
secretProviderClass: xyz-job-spc
The text was updated successfully, but these errors were encountered: