-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathcrd_manifests.yaml.j2
More file actions
42 lines (42 loc) · 1.27 KB
/
crd_manifests.yaml.j2
File metadata and controls
42 lines (42 loc) · 1.27 KB
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
# Source manifests/applications/pipeline/upstream/base/installs/multi-user/pipelines-profile-controller/composite-controller.yaml
# Change resyncPeriodSeconds to 1 hour from insane 20 seconds
# Change updateStrategy of secrets to InPlace to update on changing minio secret
# Only sync namespaces with pipelines.kubeflow.org/enabled = "true"
apiVersion: metacontroller.k8s.io/v1alpha1
kind: DecoratorController
metadata:
name: kubeflow-pipelines-profile-controller
spec:
attachments:
- apiVersion: v1
resource: secrets
updateStrategy:
# updateStrategy is set to InPlace, unlike OnDelete in upstream, to update on changing minio secret
method: InPlace
- apiVersion: v1
resource: configmaps
updateStrategy:
method: OnDelete
- apiVersion: apps/v1
resource: deployments
updateStrategy:
method: InPlace
- apiVersion: v1
resource: services
updateStrategy:
method: InPlace
- apiVersion: security.istio.io/v1beta1
resource: authorizationpolicies
updateStrategy:
method: InPlace
hooks:
sync:
webhook:
url: {{ sync_webhook_url }}
resources:
- apiVersion: v1
resource: namespaces
labelSelector:
matchExpressions:
- {key: {{ label }}, operator: Exists}
resyncPeriodSeconds: 60