Adding support for label and annotation inheritance
This release adds support for label and annotation inheritance. Thanks to @s4mur4i for his PR #29. The following CR:
apiVersion: ricoberger.de/v1alpha1
kind: VaultSecret
metadata:
name: kvv1-example-vaultsecret
annotations:
myannotation: myvalue
labels:
mylabel: myvalue
spec:
keys:
- foo
path: kvv1/example-vaultsecret
type: Opaque
results now in the following secret:
apiVersion: v1
data:
foo: YmFy
kind: Secret
metadata:
annotations:
myannotation: myvalue
labels:
created-by: vault-secrets-operator
mylabel: myvalue
name: kvv1-example-vaultsecret
type: Opaque