Skip to content

Version 1.4.5 / 2020-01-06

Compare
Choose a tag to compare
@ricoberger ricoberger released this 06 Jan 14:29

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