forked from carvel-dev/kapp-controller
-
Notifications
You must be signed in to change notification settings - Fork 0
/
crd-overlay.yml
41 lines (38 loc) · 1.09 KB
/
crd-overlay.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#@ load("@ytt:overlay", "overlay")
#@ load("@ytt:data", "data")
#@overlay/match by=overlay.subset({"kind": "CustomResourceDefinition"}), expects="0+"
---
metadata:
#@overlay/remove
#@overlay/match missing_ok=True
creationTimestamp: null
#@overlay/remove
#@overlay/match missing_ok=True
annotations:
spec:
versions:
#@overlay/match by=overlay.all, expects="0+"
- name: v1alpha1
schema:
openAPIV3Schema:
properties:
metadata:
#@overlay/remove
#@overlay/match missing_ok=True
description:
#@overlay/remove
#@overlay/match missing_ok=True
status:
#@overlay/match by=overlay.subset({"metadata":{"name":"internalpackagemetadata.internal.packaging.carvel.dev"}})
---
metadata:
name: internalpackagemetadatas.internal.packaging.carvel.dev
spec:
names:
plural: internalpackagemetadatas
#@overlay/match by=overlay.subset({"metadata":{"name":"packagerepositories.packaging.carvel.dev"}})
---
metadata:
#@overlay/match missing_ok=True
annotations:
packaging.carvel.dev/global-namespace: #@ data.values.packagingGlobalNamespace