Skip to content

Commit b248174

Browse files
modifying core kustomization overlays
Kustomization overlays have been restructured to be compatable with the opfcli onboard command. This will produce, small and isolated diffs when onboarding with the opfcli rather than large ones that compete based on formatting rules.
1 parent e2d3cdb commit b248174

File tree

10 files changed

+490
-508
lines changed

10 files changed

+490
-508
lines changed
Lines changed: 73 additions & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -1,75 +1,75 @@
1-
apiVersion: kustomize.config.k8s.io/v1beta1
21
kind: Kustomization
2+
apiVersion: kustomize.config.k8s.io/v1beta1
33
resources:
4-
- ../../../base/config.openshift.io/projects/cluster
5-
- ../../../base/rbac.authorization.k8s.io/clusterrolebindings/cluster-admins-rb
6-
- ../../../base/rbac.authorization.k8s.io/clusterrolebindings/self-provisioners
7-
- ../../../base/rbac.authorization.k8s.io/clusterrolebindings/sre
8-
- ../../../base/rbac.authorization.k8s.io/clusterroles/events-aggregate-to-edit
9-
- ../../../base/user.openshift.io/groups/adoptium
10-
- ../../../base/user.openshift.io/groups/ai-services
11-
- ../../../base/user.openshift.io/groups/apicurio
12-
- ../../../base/user.openshift.io/groups/argocd-admins
13-
- ../../../base/user.openshift.io/groups/argocd-readonly
14-
- ../../../base/user.openshift.io/groups/b4mad
15-
- ../../../base/user.openshift.io/groups/boatroackers
16-
- ../../../base/user.openshift.io/groups/boston-university-redhat
17-
- ../../../base/user.openshift.io/groups/ccx
18-
- ../../../base/user.openshift.io/groups/chi-rhug
19-
- ../../../base/user.openshift.io/groups/cnv-testing
20-
- ../../../base/user.openshift.io/groups/codait-advo
21-
- ../../../base/user.openshift.io/groups/curator
22-
- ../../../base/user.openshift.io/groups/data-science
23-
- ../../../base/user.openshift.io/groups/debezium
24-
- ../../../base/user.openshift.io/groups/emea-sa
25-
- ../../../base/user.openshift.io/groups/enterprise-neurosystem
26-
- ../../../base/user.openshift.io/groups/esi-project
27-
- ../../../base/user.openshift.io/groups/fde
28-
- ../../../base/user.openshift.io/groups/fedora
29-
- ../../../base/user.openshift.io/groups/fybrik
30-
- ../../../base/user.openshift.io/groups/grafana-viewer
31-
- ../../../base/user.openshift.io/groups/lab-cicd
32-
- ../../../base/user.openshift.io/groups/logs-insights
33-
- ../../../base/user.openshift.io/groups/manageiq
34-
- ../../../base/user.openshift.io/groups/multinode-demo
35-
- ../../../base/user.openshift.io/groups/mwperf
36-
- ../../../base/user.openshift.io/groups/neu-students
37-
- ../../../base/user.openshift.io/groups/ocp-pipelines-sre
38-
- ../../../base/user.openshift.io/groups/octo-otel-dev
39-
- ../../../base/user.openshift.io/groups/octo-training-model
40-
- ../../../base/user.openshift.io/groups/octo-ushift-dev
41-
- ../../../base/user.openshift.io/groups/odh-admin
42-
- ../../../base/user.openshift.io/groups/open-aiops
43-
- ../../../base/user.openshift.io/groups/operate-first
44-
- ../../../base/user.openshift.io/groups/opf-alerting
45-
- ../../../base/user.openshift.io/groups/osc
46-
- ../../../base/user.openshift.io/groups/osc-admins
47-
- ../../../base/user.openshift.io/groups/peribolos-as-a-service
48-
- ../../../base/user.openshift.io/groups/prometheus-ai
49-
- ../../../base/user.openshift.io/groups/prometheus-anomaly-detector
50-
- ../../../base/user.openshift.io/groups/psse-research
51-
- ../../../base/user.openshift.io/groups/pulp
52-
- ../../../base/user.openshift.io/groups/quarkus
53-
- ../../../base/user.openshift.io/groups/ray
54-
- ../../../base/user.openshift.io/groups/redhat-cto-team
55-
- ../../../base/user.openshift.io/groups/redhat-impact
56-
- ../../../base/user.openshift.io/groups/rekor
57-
- ../../../base/user.openshift.io/groups/rh-curator-eval
58-
- ../../../base/user.openshift.io/groups/rh-dus
59-
- ../../../base/user.openshift.io/groups/sa-dach
60-
- ../../../base/user.openshift.io/groups/scsaol
61-
- ../../../base/user.openshift.io/groups/sdap-mslsp
62-
- ../../../base/user.openshift.io/groups/seraph
63-
- ../../../base/user.openshift.io/groups/sigstore
64-
- ../../../base/user.openshift.io/groups/sostrades
65-
- ../../../base/user.openshift.io/groups/sre
66-
- ../../../base/user.openshift.io/groups/superset-user
67-
- ../../../base/user.openshift.io/groups/team-pixel
68-
- ../../../base/user.openshift.io/groups/thoth
69-
- ../../../base/user.openshift.io/groups/thoth-devops
70-
- ../../../base/user.openshift.io/groups/tremor-demo
71-
- ../../../base/user.openshift.io/groups/uky-redhat
72-
- ../../../base/user.openshift.io/groups/varangian
73-
- ../../../base/user.openshift.io/groups/workshops
74-
- ../../../bundles/opf-monitoring
75-
- alertmanager-main-secret.yaml
4+
- ../../../base/config.openshift.io/projects/cluster
5+
- ../../../base/rbac.authorization.k8s.io/clusterrolebindings/cluster-admins-rb
6+
- ../../../base/rbac.authorization.k8s.io/clusterrolebindings/self-provisioners
7+
- ../../../base/rbac.authorization.k8s.io/clusterrolebindings/sre
8+
- ../../../base/rbac.authorization.k8s.io/clusterroles/events-aggregate-to-edit
9+
- ../../../base/user.openshift.io/groups/adoptium
10+
- ../../../base/user.openshift.io/groups/ai-services
11+
- ../../../base/user.openshift.io/groups/apicurio
12+
- ../../../base/user.openshift.io/groups/argocd-admins
13+
- ../../../base/user.openshift.io/groups/argocd-readonly
14+
- ../../../base/user.openshift.io/groups/b4mad
15+
- ../../../base/user.openshift.io/groups/boatroackers
16+
- ../../../base/user.openshift.io/groups/boston-university-redhat
17+
- ../../../base/user.openshift.io/groups/ccx
18+
- ../../../base/user.openshift.io/groups/chi-rhug
19+
- ../../../base/user.openshift.io/groups/cnv-testing
20+
- ../../../base/user.openshift.io/groups/codait-advo
21+
- ../../../base/user.openshift.io/groups/curator
22+
- ../../../base/user.openshift.io/groups/data-science
23+
- ../../../base/user.openshift.io/groups/debezium
24+
- ../../../base/user.openshift.io/groups/emea-sa
25+
- ../../../base/user.openshift.io/groups/enterprise-neurosystem
26+
- ../../../base/user.openshift.io/groups/esi-project
27+
- ../../../base/user.openshift.io/groups/fde
28+
- ../../../base/user.openshift.io/groups/fedora
29+
- ../../../base/user.openshift.io/groups/fybrik
30+
- ../../../base/user.openshift.io/groups/grafana-viewer
31+
- ../../../base/user.openshift.io/groups/lab-cicd
32+
- ../../../base/user.openshift.io/groups/logs-insights
33+
- ../../../base/user.openshift.io/groups/manageiq
34+
- ../../../base/user.openshift.io/groups/multinode-demo
35+
- ../../../base/user.openshift.io/groups/mwperf
36+
- ../../../base/user.openshift.io/groups/neu-students
37+
- ../../../base/user.openshift.io/groups/ocp-pipelines-sre
38+
- ../../../base/user.openshift.io/groups/octo-otel-dev
39+
- ../../../base/user.openshift.io/groups/octo-training-model
40+
- ../../../base/user.openshift.io/groups/octo-ushift-dev
41+
- ../../../base/user.openshift.io/groups/odh-admin
42+
- ../../../base/user.openshift.io/groups/open-aiops
43+
- ../../../base/user.openshift.io/groups/operate-first
44+
- ../../../base/user.openshift.io/groups/opf-alerting
45+
- ../../../base/user.openshift.io/groups/osc
46+
- ../../../base/user.openshift.io/groups/osc-admins
47+
- ../../../base/user.openshift.io/groups/peribolos-as-a-service
48+
- ../../../base/user.openshift.io/groups/prometheus-ai
49+
- ../../../base/user.openshift.io/groups/prometheus-anomaly-detector
50+
- ../../../base/user.openshift.io/groups/psse-research
51+
- ../../../base/user.openshift.io/groups/pulp
52+
- ../../../base/user.openshift.io/groups/quarkus
53+
- ../../../base/user.openshift.io/groups/ray
54+
- ../../../base/user.openshift.io/groups/redhat-cto-team
55+
- ../../../base/user.openshift.io/groups/redhat-impact
56+
- ../../../base/user.openshift.io/groups/rekor
57+
- ../../../base/user.openshift.io/groups/rh-curator-eval
58+
- ../../../base/user.openshift.io/groups/rh-dus
59+
- ../../../base/user.openshift.io/groups/sa-dach
60+
- ../../../base/user.openshift.io/groups/scsaol
61+
- ../../../base/user.openshift.io/groups/sdap-mslsp
62+
- ../../../base/user.openshift.io/groups/seraph
63+
- ../../../base/user.openshift.io/groups/sigstore
64+
- ../../../base/user.openshift.io/groups/sostrades
65+
- ../../../base/user.openshift.io/groups/sre
66+
- ../../../base/user.openshift.io/groups/superset-user
67+
- ../../../base/user.openshift.io/groups/team-pixel
68+
- ../../../base/user.openshift.io/groups/thoth
69+
- ../../../base/user.openshift.io/groups/thoth-devops
70+
- ../../../base/user.openshift.io/groups/tremor-demo
71+
- ../../../base/user.openshift.io/groups/uky-redhat
72+
- ../../../base/user.openshift.io/groups/varangian
73+
- ../../../base/user.openshift.io/groups/workshops
74+
- ../../../bundles/opf-monitoring
75+
- alertmanager-main-secret.yaml
Lines changed: 21 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,25 @@
1-
apiVersion: kustomize.config.k8s.io/v1beta1
21
kind: Kustomization
2+
apiVersion: kustomize.config.k8s.io/v1beta1
3+
patchesStrategicMerge:
4+
- oauths/cluster_patch.yaml
5+
- groups/cluster-admins.yaml
6+
- subscriptions/cluster-logging-operator_patch.yaml
7+
- clusterautoscaler.yaml
8+
patches:
9+
- patch: |-
10+
- op: replace
11+
path: /spec/hard
12+
value:
13+
limits.cpu: '16'
14+
limits.memory: 32Gi
15+
requests.cpu: '8'
16+
requests.memory: 16Gi
17+
requests.storage: 60Gi
18+
target:
19+
version: v1
20+
kind: ResourceQuota
21+
name: opf-kafka-custom
322
resources:
4-
- ../common
523
- ../../../../base/apiextensions.k8s.io/customresourcedefinitions/workflow.argoproj.io
624
- ../../../../base/apiextensions.k8s.io/customresourcedefinitions/workflowtemplate.argoproj.io
725
- ../../../../base/autoscaling.openshift.io/clusterautoscalers/default
@@ -25,27 +43,7 @@ resources:
2543
- ../../../../base/rbac.authorization.k8s.io/clusterrolebindings/cluster-reader-k8s-annotations-exporter
2644
- ../../../../base/user.openshift.io/groups/cluster-admins
2745
- ../../../../bundles/acme-operator
46+
- ../common
2847
- machineautoscalers.yaml
2948
generators:
3049
- secret-generator.yaml
31-
32-
patchesStrategicMerge:
33-
- oauths/cluster_patch.yaml
34-
- groups/cluster-admins.yaml
35-
- subscriptions/cluster-logging-operator_patch.yaml
36-
- clusterautoscaler.yaml
37-
patches:
38-
- patch: |-
39-
- op: replace
40-
path: /spec/hard
41-
value:
42-
limits.cpu: '16'
43-
limits.memory: 32Gi
44-
requests.cpu: '8'
45-
requests.memory: 16Gi
46-
requests.storage: 60Gi
47-
target:
48-
group: ""
49-
version: v1
50-
kind: ResourceQuota
51-
name: opf-kafka-custom
Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,15 @@
1-
apiVersion: kustomize.config.k8s.io/v1beta1
21
kind: Kustomization
3-
4-
resources:
5-
- ../common
6-
- ../../../../base/config.openshift.io/oauths/cluster
7-
- ../../../../base/user.openshift.io/groups/cluster-admins
8-
- ../../../../base/core/configmaps/cluster-monitoring-config
9-
- ../../../../base/core/namespaces/opf-alertreceiver
10-
- ../../../../base/operators.coreos.com/subscriptions/opendatahub-operator
11-
- ../../../../base/core/namespaces/demo-jupyterhub
12-
2+
apiVersion: kustomize.config.k8s.io/v1beta1
133
patchesStrategicMerge:
14-
- groups/cluster-admins.yaml
15-
- oauths/cluster_patch.yaml
16-
4+
- groups/cluster-admins.yaml
5+
- oauths/cluster_patch.yaml
6+
resources:
7+
- ../../../../base/config.openshift.io/oauths/cluster
8+
- ../../../../base/core/configmaps/cluster-monitoring-config
9+
- ../../../../base/core/namespaces/demo-jupyterhub
10+
- ../../../../base/core/namespaces/opf-alertreceiver
11+
- ../../../../base/operators.coreos.com/subscriptions/opendatahub-operator
12+
- ../../../../base/user.openshift.io/groups/cluster-admins
13+
- ../common
1714
generators:
18-
- secret-generator.yaml
15+
- secret-generator.yaml
Lines changed: 60 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,63 @@
1-
apiVersion: kustomize.config.k8s.io/v1beta1
21
kind: Kustomization
3-
patchesJson6902:
4-
- patch: "- op: replace\n path: /spec/startingCSV\n value: cert-manager.v1.6.1\n"
5-
target:
6-
group: operators.coreos.com
7-
kind: Subscription
8-
name: cert-manager
9-
version: v1alpha1
10-
- patch: "- op: add\n path: /spec/storageClassName\n value: ocs-storagecluster-cephfs\n"
11-
target:
12-
kind: PersistentVolumeClaim
13-
name: image-registry-storage
14-
version: v1
2+
apiVersion: kustomize.config.k8s.io/v1beta1
153
patchesStrategicMerge:
16-
- groups/cluster-admins.yaml
17-
- groups/sudoers.yaml
18-
- subscriptions/local-storage-operator_patch.yaml
19-
- subscriptions/odf-operator_patch.yaml
20-
- subscriptions/kubevirt-hyperconverged_patch.yaml
21-
- subscriptions/nfd_patch.yaml
22-
- subscriptions/openshift-pipelines-operator-rh_patch.yaml
4+
- groups/cluster-admins.yaml
5+
- groups/sudoers.yaml
6+
- oauths/cluster_patch.yaml
7+
- subscriptions/local-storage-operator_patch.yaml
8+
- subscriptions/odf-operator_patch.yaml
9+
- subscriptions/kubevirt-hyperconverged_patch.yaml
10+
- subscriptions/nfd_patch.yaml
11+
- subscriptions/openshift-pipelines-operator-rh_patch.yaml
12+
patchesJson6902:
13+
- patch: |
14+
- op: replace
15+
path: /spec/startingCSV
16+
value: cert-manager.v1.6.1
17+
target:
18+
group: operators.coreos.com
19+
version: v1alpha1
20+
kind: Subscription
21+
name: cert-manager
22+
- patch: |
23+
- op: add
24+
path: /spec/storageClassName
25+
value: ocs-storagecluster-cephfs
26+
target:
27+
version: v1
28+
kind: PersistentVolumeClaim
29+
name: image-registry-storage
2330
resources:
24-
- ../../../../base/core/configmaps/cluster-monitoring-config
25-
- ../../../../base/core/namespaces/examples-openshift-pub
26-
- ../../../../base/core/namespaces/keylime
27-
- ../../../../base/core/namespaces/openshift-cnv
28-
- ../../../../base/core/namespaces/openshift-local-storage
29-
- ../../../../base/core/namespaces/openshift-storage
30-
- ../../../../base/core/namespaces/opf-alertreceiver
31-
- ../../../../base/core/namespaces/pixel-demo
32-
- ../../../../base/core/namespaces/pixel-secrets
33-
- ../../../../base/core/namespaces/rbo-builder
34-
- ../../../../base/core/namespaces/smartoffice
35-
- ../../../../base/core/namespaces/summit-2022-octo-keynote
36-
- ../../../../base/core/namespaces/thoth-test-core
37-
- ../../../../base/core/persistentvolumeclaims/image-registry-storage
38-
- ../../../../base/imageregistry.operator.openshift.io/configs/cluster
39-
- ../../../../base/operators.coreos.com/operatorgroups/openshift-cnv-rn5jf
40-
- ../../../../base/operators.coreos.com/operatorgroups/openshift-local-storage
41-
- ../../../../base/operators.coreos.com/operatorgroups/openshift-storage
42-
- ../../../../base/operators.coreos.com/subscriptions/cert-manager
43-
- ../../../../base/operators.coreos.com/subscriptions/kubevirt-hyperconverged
44-
- ../../../../base/operators.coreos.com/subscriptions/odf-operator
45-
- ../../../../base/operators.coreos.com/subscriptions/openshift-local-storage-operator
46-
- ../../../../base/operators.coreos.com/subscriptions/openshift-pipelines-operator-rh
47-
- ../../../../base/rbac.authorization.k8s.io/clusterrolebindings/cluster-reader-k8s-annotations-exporter
48-
- ../../../../base/rbac.authorization.k8s.io/clusterrolebindings/sudoers
49-
- ../../../../base/user.openshift.io/groups/cluster-admins
50-
- ../../../../base/user.openshift.io/groups/sudoers
51-
- ../../../../bundles/nfd
52-
- ../common
53-
- apiserver/api_server_cert.yaml
54-
- ingresscontrollers/default.yaml
31+
- ../../../../base/config.openshift.io/oauths/cluster
32+
- ../../../../base/core/configmaps/cluster-monitoring-config
33+
- ../../../../base/core/namespaces/examples-openshift-pub
34+
- ../../../../base/core/namespaces/openshift-cnv
35+
- ../../../../base/core/namespaces/openshift-local-storage
36+
- ../../../../base/core/namespaces/openshift-storage
37+
- ../../../../base/core/namespaces/opf-alertreceiver
38+
- ../../../../base/core/namespaces/opf-monitoring
39+
- ../../../../base/core/namespaces/pixel-demo
40+
- ../../../../base/core/namespaces/pixel-secrets
41+
- ../../../../base/core/namespaces/rbo-builder
42+
- ../../../../base/core/namespaces/smartoffice
43+
- ../../../../base/core/namespaces/thoth-test-core
44+
- ../../../../base/core/persistentvolumeclaims/image-registry-storage
45+
- ../../../../base/imageregistry.operator.openshift.io/configs/cluster
46+
- ../../../../base/operators.coreos.com/operatorgroups/openshift-cnv-rn5jf
47+
- ../../../../base/operators.coreos.com/operatorgroups/openshift-local-storage
48+
- ../../../../base/operators.coreos.com/operatorgroups/openshift-storage
49+
- ../../../../base/operators.coreos.com/subscriptions/cert-manager
50+
- ../../../../base/operators.coreos.com/subscriptions/kubevirt-hyperconverged
51+
- ../../../../base/operators.coreos.com/subscriptions/odf-operator
52+
- ../../../../base/operators.coreos.com/subscriptions/openshift-local-storage-operator
53+
- ../../../../base/operators.coreos.com/subscriptions/openshift-pipelines-operator-rh
54+
- ../../../../base/rbac.authorization.k8s.io/clusterrolebindings/cluster-reader-k8s-annotations-exporter
55+
- ../../../../base/rbac.authorization.k8s.io/clusterrolebindings/sudoers
56+
- ../../../../base/user.openshift.io/groups/cluster-admins
57+
- ../../../../base/user.openshift.io/groups/sudoers
58+
- ../../../../bundles/nfd
59+
- ../common
60+
- apiserver/api_server_cert.yaml
61+
- ingresscontrollers/default.yaml
62+
generators:
63+
- secret-generator.yaml

0 commit comments

Comments
 (0)