Skip to content

Commit 0eeeb0a

Browse files
Mikalai Radchukm1kola
authored andcommitted
Cleans up kustomize files
* `patchesStrategicMerge` is deprecated * `config/default/manager_config_patch.yaml` is unused * Removes some unused scaffolding Signed-off-by: Mikalai Radchuk <[email protected]>
1 parent 2935c97 commit 0eeeb0a

File tree

5 files changed

+2
-47
lines changed

5 files changed

+2
-47
lines changed

config/crd/kustomization.yaml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,6 @@
33
# It should be run by config/default
44
resources:
55
- bases/operators.operatorframework.io_operators.yaml
6-
#+kubebuilder:scaffold:crdkustomizeresource
7-
8-
patchesStrategicMerge:
9-
# [WEBHOOK] To enable webhook, uncomment all the sections with [WEBHOOK] prefix.
10-
# patches here are for enabling the conversion webhook for each CRD
11-
#- patches/webhook_in_operators.yaml
12-
#+kubebuilder:scaffold:crdkustomizewebhookpatch
13-
14-
# [CERTMANAGER] To enable cert-manager, uncomment all the sections with [CERTMANAGER] prefix.
15-
# patches here are for enabling the CA injection for each CRD
16-
#- patches/cainjection_in_operators.yaml
17-
#+kubebuilder:scaffold:crdkustomizecainjectionpatch
186

197
# the following config is for teaching kustomize how to do kustomization for CRDs.
208
configurations:

config/crd/patches/cainjection_in_operators.yaml

Lines changed: 0 additions & 7 deletions
This file was deleted.

config/crd/patches/webhook_in_operators.yaml

Lines changed: 0 additions & 16 deletions
This file was deleted.

config/default/kustomization.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ resources:
2626
# [PROMETHEUS] To enable prometheus monitor, uncomment all sections with 'PROMETHEUS'.
2727
#- ../prometheus
2828

29-
patchesStrategicMerge:
29+
patches:
3030
# Protect the /metrics endpoint by putting it behind auth.
3131
# If you want your controller-manager to expose the /metrics
3232
# endpoint w/o any authn/z, please comment the following line.
33-
- manager_auth_proxy_patch.yaml
33+
- path: manager_auth_proxy_patch.yaml
3434

3535

3636

config/default/manager_config_patch.yaml

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)