19 lines
532 B
YAML
19 lines
532 B
YAML
---
|
|
- op: replace
|
|
path: "/spec/template/spec/containers/0/args/0"
|
|
value: "--web.listen-address=0.0.0.0:9100"
|
|
- op: add
|
|
path: "/spec/template/spec/containers/0/ports"
|
|
value:
|
|
- containerPort: 9100
|
|
hostPort: 9100
|
|
name: http
|
|
- op: replace
|
|
path: "/spec/template/spec/containers/1/args/0"
|
|
value: "--secure-listen-address=[$(IP)]:9101"
|
|
- op: replace
|
|
path: "/spec/template/spec/containers/1/ports/0/containerPort"
|
|
value: 9101
|
|
- op: replace
|
|
path: "/spec/template/spec/containers/1/ports/0/hostPort"
|
|
value: 9101
|