From e269dc44293d72357579baaad6ad342e323bec54 Mon Sep 17 00:00:00 2001 From: savitaashture Date: Fri, 20 Nov 2020 20:38:15 +0530 Subject: [PATCH] Update README --- examples/eventlistener-tls-connection/role.yaml | 2 +- examples/eventlistener-tls-connection/secret.yaml | 2 +- .../tls-eventlistener-interceptor.yaml | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/eventlistener-tls-connection/role.yaml b/examples/eventlistener-tls-connection/role.yaml index fee377840..c205b26e3 100644 --- a/examples/eventlistener-tls-connection/role.yaml +++ b/examples/eventlistener-tls-connection/role.yaml @@ -3,7 +3,7 @@ kind: ServiceAccount metadata: name: tekton-triggers-tls-sa secrets: - - name: github-secret + - name: el-tls-secret --- apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding diff --git a/examples/eventlistener-tls-connection/secret.yaml b/examples/eventlistener-tls-connection/secret.yaml index beb4f9c89..60254c543 100644 --- a/examples/eventlistener-tls-connection/secret.yaml +++ b/examples/eventlistener-tls-connection/secret.yaml @@ -1,7 +1,7 @@ apiVersion: v1 kind: Secret metadata: - name: github-secret + name: el-tls-secret type: Opaque stringData: secretToken: "1234567" diff --git a/examples/eventlistener-tls-connection/tls-eventlistener-interceptor.yaml b/examples/eventlistener-tls-connection/tls-eventlistener-interceptor.yaml index 79467aa36..760bca39b 100644 --- a/examples/eventlistener-tls-connection/tls-eventlistener-interceptor.yaml +++ b/examples/eventlistener-tls-connection/tls-eventlistener-interceptor.yaml @@ -30,12 +30,12 @@ spec: - name: TLS_CERT valueFrom: secretKeyRef: - name: tls-key-secret + name: tls-secret-key key: tls.crt - name: TLS_KEY valueFrom: secretKeyRef: - name: tls-key-secret + name: tls-secret-key key: tls.key --- apiVersion: triggers.tekton.dev/v1alpha1