Rename template secret field data and add stringData to match k8s secret
v1alpha2 version of SopsSecret uses data field to map to stringData while creating k8s Secret object. Create new v1alpha3 and map SopsSecret:data to Secret:data and SopsSeceret:stringData to Secret:stringData.
Add a check for all names being unique - fail reconciliation if that is not the case (do not reschedule reconsile loop, user must fix the secret).
Rename template secret field data and add stringData to match k8s secret
v1alpha2
version ofSopsSecret
usesdata
field to map tostringData
while creating k8sSecret
object. Create newv1alpha3
and mapSopsSecret:data
toSecret:data
andSopsSeceret:stringData
toSecret:stringData
.Add a check for all names being unique - fail reconciliation if that is not the case (do not reschedule reconsile loop, user must fix the secret).