fix(operators): inject the correct ca cert into webhook clients for Victoria Metrics
This commit is contained in:
parent
be9bedf44e
commit
2e04472ffd
2 changed files with 14 additions and 0 deletions
|
|
@ -0,0 +1,3 @@
|
||||||
|
- op: add
|
||||||
|
path: /metadata/annotations/cert-manager.io~1inject-ca-from
|
||||||
|
value: "victoriametrics-system/vm-serving-cert"
|
||||||
|
|
@ -6,3 +6,14 @@ resources:
|
||||||
namespace: victoriametrics-system
|
namespace: victoriametrics-system
|
||||||
patches:
|
patches:
|
||||||
- path: certificate.patch.yaml
|
- path: certificate.patch.yaml
|
||||||
|
- path: inject-ca-from.patch.yaml
|
||||||
|
target:
|
||||||
|
group: apiextensions.k8s.io
|
||||||
|
version: v1
|
||||||
|
kind: CustomResourceDefinition
|
||||||
|
name: ".*victoriametrics.com"
|
||||||
|
- path: inject-ca-from.patch.yaml
|
||||||
|
target:
|
||||||
|
group: admissionregistration.k8s.io
|
||||||
|
version: v1
|
||||||
|
kind: ValidatingWebhookConfiguration
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue