Skip to content

Commit 1572d1c

Browse files
authored
Remove creationTimestamp and status fields from webhook-operator test resources (#2295)
It presence has forced the BoxCutter applier to believe that resources differ from those existing on the cluster and thus new revisions are created indefinitely on each reconcile when trying to install webhook-operator package.
1 parent 8bda126 commit 1572d1c

File tree

3 files changed

+0
-10
lines changed

3 files changed

+0
-10
lines changed

testdata/images/bundles/webhook-operator/v0.0.1/manifests/webhook-operator-metrics-reader_rbac.authorization.k8s.io_v1beta1_clusterrole.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
apiVersion: rbac.authorization.k8s.io/v1
22
kind: ClusterRole
33
metadata:
4-
creationTimestamp: null
54
name: webhook-operator-metrics-reader
65
rules:
76
- nonResourceURLs:

testdata/images/bundles/webhook-operator/v0.0.1/manifests/webhook-operator.clusterserviceversion.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ metadata:
1414
},
1515
"name": "webhooktest-sample"
1616
},
17-
"spec": null
1817
},
1918
{
2019
"apiVersion": "webhook.operators.coreos.io/v2",
@@ -26,7 +25,6 @@ metadata:
2625
},
2726
"name": "webhooktest-sample"
2827
},
29-
"spec": null
3028
}
3129
]
3230
capabilities: Basic Install

testdata/images/bundles/webhook-operator/v0.0.1/manifests/webhook.operators.coreos.io_webhooktests.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ kind: CustomResourceDefinition
33
metadata:
44
annotations:
55
controller-gen.kubebuilder.io/version: v0.18.0
6-
creationTimestamp: null
76
name: webhooktests.webhook.operators.coreos.io
87
spec:
98
conversion:
@@ -256,9 +255,3 @@ spec:
256255
storage: false
257256
subresources:
258257
status: {}
259-
status:
260-
acceptedNames:
261-
kind: ""
262-
plural: ""
263-
conditions: null
264-
storedVersions: null

0 commit comments

Comments
 (0)