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