Skip to content

Commit 798b2d1

Browse files
authored
updated private registry kustomize patch to target specific initContainers (#47)
1 parent aba2207 commit 798b2d1

File tree

1 file changed

+32
-3
lines changed

1 file changed

+32
-3
lines changed

components/enable/private-registry/kustomization.yaml

Lines changed: 32 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,25 +8,54 @@ replacements:
88
targets:
99
- fieldPaths:
1010
- spec.template.spec.containers.*.image
11-
- spec.template.spec.initContainers.*.image
1211
options:
1312
delimiter: /sourcegraph
1413
select:
1514
group: apps
1615
kind: Deployment
1716
- fieldPaths:
1817
- spec.template.spec.containers.*.image
19-
- spec.template.spec.initContainers.*.image
2018
options:
2119
delimiter: /sourcegraph
2220
select:
2321
group: apps
2422
kind: StatefulSet
2523
- fieldPaths:
2624
- spec.template.spec.containers.*.image
27-
- spec.template.spec.initContainers.*.image
2825
options:
2926
delimiter: /sourcegraph
3027
select:
3128
group: apps
3229
kind: DaemonSet
30+
- fieldPaths:
31+
- spec.template.spec.initContainers.*.image
32+
options:
33+
delimiter: /sourcegraph
34+
select:
35+
group: apps
36+
kind: Deployment
37+
name: sourcegraph-frontend
38+
- fieldPaths:
39+
- spec.template.spec.initContainers.*.image
40+
options:
41+
delimiter: /sourcegraph
42+
select:
43+
group: apps
44+
kind: StatefulSet
45+
name: codeinsights-db
46+
- fieldPaths:
47+
- spec.template.spec.initContainers.*.image
48+
options:
49+
delimiter: /sourcegraph
50+
select:
51+
group: apps
52+
kind: StatefulSet
53+
name: codeintel-db
54+
- fieldPaths:
55+
- spec.template.spec.initContainers.*.image
56+
options:
57+
delimiter: /sourcegraph
58+
select:
59+
group: apps
60+
kind: StatefulSet
61+
name: pgsql

0 commit comments

Comments
 (0)