-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathkustomization.yaml
37 lines (33 loc) · 1.07 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
# Adds namespace to all resources.
namespace: appwrapper-system
# Value of this field is prepended to the
# names of all resources, e.g. a deployment named
# "wordpress" becomes "alices-wordpress".
# Note that it should also match with the prefix (text before '-') of the namespace
# field above.
namePrefix: appwrapper-
labels:
- pairs:
app.kubernetes.io/name: appwrapper
app.kubernetes.io/component: controller
includeTemplates: true
- pairs:
control-plane: controller-manager
includeSelectors: true
resources:
- config.yaml
- ../crd
- ../rbac
- ../manager
- ../internalcert
# [WEBHOOK] To enable webhook, uncomment all the sections with [WEBHOOK] prefix including the one in
# crd/kustomization.yaml
- ../webhook
# [PROMETHEUS] To enable prometheus monitor, uncomment all sections with 'PROMETHEUS'.
#- ../prometheus
# [METRICS] Expose the controller manager metrics service.
- metrics_service.yaml
patches:
# [WEBHOOK] To enable webhook, uncomment all the sections with [WEBHOOK] prefix including the one in
# crd/kustomization.yaml
- path: manager_webhook_patch.yaml