Skip to content

Commit ac34ed0

Browse files
authored
Merge pull request #1165 from RedHatInsights/psav/fix_kustomize_resources
Fix kustomize resources
2 parents 16646af + 2d55d04 commit ac34ed0

File tree

7 files changed

+16
-2
lines changed

7 files changed

+16
-2
lines changed

config/certmanager/kustomization.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@ resources:
33

44
configurations:
55
- kustomizeconfig.yaml
6+
apiVersion: kustomize.config.k8s.io/v1beta1
7+
kind: Kustomization

config/crd/kustomization.yaml

+3-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ resources:
77
- bases/cloud.redhat.com_clowdapps.yaml
88
#+kubebuilder:scaffold:crdkustomizeresource
99

10-
patches: []
10+
# patches: []
1111
# [WEBHOOK] To enable webhook, uncomment all the sections with [WEBHOOK] prefix.
1212
# patches here are for enabling the conversion webhook for each CRD
1313
#- patches/webhook_in_clowdenvironments.yaml
@@ -25,3 +25,5 @@ patches: []
2525
# the following config is for teaching kustomize how to do kustomization for CRDs.
2626
configurations:
2727
- kustomizeconfig.yaml
28+
apiVersion: kustomize.config.k8s.io/v1beta1
29+
kind: Kustomization

config/manifests/kustomization.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ resources:
44
- bases/clowder.clusterserviceversion.yaml
55
- ../default
66
- ../samples
7+
apiVersion: kustomize.config.k8s.io/v1beta1
8+
kind: Kustomization
79

810
# [WEBHOOK] To enable webhooks, uncomment all the sections with [WEBHOOK] prefix.
911
# Do NOT uncomment sections with prefix [CERTMANAGER], as OLM does not support cert-manager.

config/prometheus/kustomization.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
resources:
22
- monitor.yaml
3+
apiVersion: kustomize.config.k8s.io/v1beta1
4+
kind: Kustomization

config/rbac/kustomization.yaml

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
resources:
21
# All RBAC will be applied under this service account in
32
# the deployment namespace. You may comment out this resource
43
# if your manager will use a service account that exists at
54
# runtime. Be sure to update RoleBinding and ClusterRoleBinding
65
# subjects if changing service account names.
6+
resources:
77
- service_account.yaml
88
- clowder_prometheus.yaml
99
- role.yaml
@@ -24,3 +24,5 @@ resources:
2424
- clowdapp_viewer_role.yaml
2525
- clowdenvironment_viewer_role.yaml
2626
- clowdjobinvocation_viewer_role.yaml
27+
apiVersion: kustomize.config.k8s.io/v1beta1
28+
kind: Kustomization

config/samples/kustomization.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,6 @@ resources:
33
- cloud.redhat.com_v1alpha1_clowdenvironment.yaml
44
- cloud.redhat.com_v1alpha1_clowdjobinvocation.yaml
55
- cloud.redhat.com_v1alpha1_clowdapp.yaml
6+
apiVersion: kustomize.config.k8s.io/v1beta1
7+
kind: Kustomization
68
#+kubebuilder:scaffold:manifestskustomizesamples

config/webhook/kustomization.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@ resources:
55

66
configurations:
77
- kustomizeconfig.yaml
8+
apiVersion: kustomize.config.k8s.io/v1beta1
9+
kind: Kustomization

0 commit comments

Comments
 (0)