Skip to content

Commit 68bc5a7

Browse files
committed
tailer-webhook: add annotation to the snippet as suggested
Signed-off-by: Szilard Parrag <szilard.parrag@axoflow.com>
1 parent b3c5231 commit 68bc5a7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

content/docs/configuration/extensions/tailer-webhook.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,14 +107,15 @@ metadata:
107107
namespace: logging
108108
labels:
109109
app: sample-webhook
110+
annotations:
111+
cert-manager.io/inject-ca-from: logging/webhook-tls
110112
webhooks:
111113
- name: sample-webhook.banzaicloud.com
112114
clientConfig:
113115
service:
114116
name: logging-webhooks
115117
namespace: logging
116118
path: "/tailer-webhook"
117-
caBundle: $(kubectl get secret webhook-tls -n logging -o json | jq -r '.data["ca.crt"]')
118119
rules:
119120
- operations: [ "CREATE" ]
120121
apiGroups: [""]

0 commit comments

Comments
 (0)