Skip to content

Instantly share code, notes, and snippets.

@cari-lynn
Last active February 26, 2021 20:00
Show Gist options
  • Save cari-lynn/d4929dd0e21284a7e03f6e5613186254 to your computer and use it in GitHub Desktop.
Save cari-lynn/d4929dd0e21284a7e03f6e5613186254 to your computer and use it in GitHub Desktop.
SealedSecret OwnershipLabelRules Example
apiVersion: kapp.k14s.io/v1alpha1
kind: Config
ownershipLabelRules:
- path: [spec, template, metadata, labels]
resourceMatchers:
- apiVersionKindMatcher: {apiVersion: bitnami.com/v1alpha1, kind: SealedSecret}
apiVersion: v1
data:
foo: YmFy
kind: Secret
metadata:
creationTimestamp: null
name: mysecret
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment