Open paillave opened 1 year ago
I'm not sure if its actual an issue but it works for us with using objectAlias
instead of objectName
under data section.
apiVersion: secrets-store.csi.x-k8s.io/v1
kind: SecretProviderClass
metadata:
name: azure-kvname
spec:
provider: azure
parameters:
useVMManagedIdentity: "true"
userAssignedIdentityID: XXXXXXXXXXXXXXX
keyvaultName: XXXXXXXXXXXXXXXXX
objects: |
array:
- |
objectName: ThisIsACertificate
objectAlias: SslCertificate.pfx
objectType: cert
tenantID: XXXXXXXXXXXXXXXX
secretObjects:
- data:
- key: certificat
objectName: SslCertificate.pfx
secretName: test-secrets
type: Opaque
As I want my files to have a proper name regarding to container specifications, I want to set an alias on some secrets. But when I do so, stakater/reloader doesn't trigger any rolling update at all anymore on my replicaset.
FYI, I just need to remove the
objectAlias
line, and stakater will work properly... but the file will be created with a name the contained application doesn't recognize.Here is what I do: