forked from kubernetes-sigs/security-profiles-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeploy-webhook-localhost.patch
44 lines (44 loc) · 1.41 KB
/
deploy-webhook-localhost.patch
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
diff --git a/deploy/webhook-operator.yaml b/deploy/webhook-operator.yaml
index 2de0b5bb..b29950ed 100644
--- a/deploy/webhook-operator.yaml
+++ b/deploy/webhook-operator.yaml
@@ -1967,7 +1967,7 @@ metadata:
name: security-profiles-operator
namespace: security-profiles-operator
spec:
- replicas: 3
+ replicas: 1
selector:
matchLabels:
app: security-profiles-operator
@@ -1990,8 +1990,8 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- image: gcr.io/k8s-staging-sp-operator/security-profiles-operator:latest
- imagePullPolicy: Always
+ image: localhost/security-profiles-operator:latest
+ imagePullPolicy: IfNotPresent
name: security-profiles-operator
resources:
limits:
@@ -2023,7 +2023,7 @@ metadata:
name: security-profiles-operator-webhook
namespace: security-profiles-operator
spec:
- replicas: 3
+ replicas: 1
selector:
matchLabels:
app: security-profiles-operator
@@ -2044,8 +2044,8 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- image: gcr.io/k8s-staging-sp-operator/security-profiles-operator:latest
- imagePullPolicy: Always
+ image: localhost/security-profiles-operator:latest
+ imagePullPolicy: IfNotPresent
name: security-profiles-operator
ports:
- containerPort: 9443