@@ -17,7 +17,7 @@ webhooks:
17
17
service :
18
18
namespace : default
19
19
name : kubernetes
20
- path : /apis/admission.stash.appscode.com/v1alpha1/deployments
20
+ path : /apis/admission.stash.appscode.com/v1alpha1/deploymentmutators
21
21
caBundle : {{ b64enc .Values.apiserver.ca }}
22
22
rules :
23
23
- operations :
@@ -39,7 +39,7 @@ webhooks:
39
39
service :
40
40
namespace : default
41
41
name : kubernetes
42
- path : /apis/admission.stash.appscode.com/v1alpha1/daemonsets
42
+ path : /apis/admission.stash.appscode.com/v1alpha1/daemonsetmutators
43
43
caBundle : {{ b64enc .Values.apiserver.ca }}
44
44
rules :
45
45
- operations :
@@ -61,7 +61,7 @@ webhooks:
61
61
service :
62
62
namespace : default
63
63
name : kubernetes
64
- path : /apis/admission.stash.appscode.com/v1alpha1/statefulsets
64
+ path : /apis/admission.stash.appscode.com/v1alpha1/statefulsetmutators
65
65
caBundle : {{ b64enc .Values.apiserver.ca }}
66
66
rules :
67
67
- operations :
@@ -81,7 +81,7 @@ webhooks:
81
81
service :
82
82
namespace : default
83
83
name : kubernetes
84
- path : /apis/admission.stash.appscode.com/v1alpha1/replicationcontrollers
84
+ path : /apis/admission.stash.appscode.com/v1alpha1/replicationcontrollermutators
85
85
caBundle : {{ b64enc .Values.apiserver.ca }}
86
86
rules :
87
87
- operations :
@@ -102,7 +102,7 @@ webhooks:
102
102
service :
103
103
namespace : default
104
104
name : kubernetes
105
- path : /apis/admission.stash.appscode.com/v1alpha1/replicasets
105
+ path : /apis/admission.stash.appscode.com/v1alpha1/replicasetmutators
106
106
caBundle : {{ b64enc .Values.apiserver.ca }}
107
107
rules :
108
108
- operations :
@@ -140,4 +140,25 @@ webhooks:
140
140
{{- if and (ge $major 1) (ge $minor 12) }}
141
141
sideEffects : None
142
142
{{- end }}
143
+ - name : deploymentconfig.admission.stash.appscode.com
144
+ clientConfig :
145
+ service :
146
+ namespace : default
147
+ name : kubernetes
148
+ path : /apis/admission.stash.appscode.com/v1alpha1/deploymentconfigmutators
149
+ caBundle : {{ b64enc .Values.apiserver.ca }}
150
+ rules :
151
+ - operations :
152
+ - CREATE
153
+ - UPDATE
154
+ apiGroups :
155
+ - apps.openshift.io
156
+ apiVersions :
157
+ - " *"
158
+ resources :
159
+ - deploymentconfigs
160
+ failurePolicy : Ignore
161
+ {{- if and (ge $major 1) (ge $minor 12) }}
162
+ sideEffects : None
163
+ {{- end }}
143
164
{{ end }}
0 commit comments