-
Notifications
You must be signed in to change notification settings - Fork 318
/
Copy pathkustomization.yaml
69 lines (68 loc) · 2.33 KB
/
kustomization.yaml
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# These resources constitute the fully configured set of manifests
# used to generate the 'manifests/' directory in a bundle.
resources:
- bases/gitops-operator.clusterserviceversion.yaml
- ../default
- ../samples
- ../scorecard
# [WEBHOOK] To enable webhooks, uncomment all the sections with [WEBHOOK] prefix.
# Do NOT uncomment sections with prefix [CERTMANAGER], as OLM does not support cert-manager.
# These patches remove the unnecessary "cert" volume and its manager container volumeMount.
patchesJson6902:
- target:
group: apps
version: v1
kind: Deployment
name: controller-manager
namespace: system
patch: |-
# Add ENABLE_CONVERSION_WEBHOOK env to enable conversion webhook
- op: add
path: /spec/template/spec/containers/0/env/-
value:
name: "ENABLE_CONVERSION_WEBHOOK"
value: "true"
# Remove the manager container's "cert" volumeMount, since OLM will create and mount a set of certs.
# Update the indices in this path if adding or removing containers/volumeMounts in the manager's Deployment.
- op: remove
path: /spec/template/spec/containers/0/volumeMounts/0
# Remove the "cert" volume, since OLM will create and mount a set of certs.
# Update the indices in this path if adding or removing volumes in the manager's Deployment.
- op: remove
path: /spec/template/spec/volumes/0
- target:
group: apiextensions.k8s.io
version: v1
kind: CustomResourceDefinition
name: argocds.argoproj.io
patch: |-
# Remove Service CA operator annotation
- op: remove
path: /metadata/annotations/service.beta.openshift.io~1inject-cabundle
- target:
version: v1
kind: Service
name: webhook-service
namespace: system
patch: |-
# Remove Service CA operator annotation
- op: remove
path: /metadata/annotations/service.beta.openshift.io~1serving-cert-secret-name
- target:
group: operators.coreos.com
version: v1alpha1
kind: ClusterServiceVersion
name: gitops-operator.v1.8.0
path: patches/icon.yaml
- target:
group: operators.coreos.com
version: v1alpha1
kind: ClusterServiceVersion
name: gitops-operator.v1.8.0
path: patches/description.yaml
- target:
group: operators.coreos.com
version: v1alpha1
kind: ClusterServiceVersion
name: gitops-operator.v1.8.0
path: patches/min-kube-version.yaml