diff --git a/README.md b/README.md index 910e0d5..8347ddf 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,9 @@ kubectl apply -f https://github.com/jetstack/cert-manager/releases/download/v1.6 - Install next the helm chart if [helm v3 is deployed](https://helm.sh/docs/intro/install/) on your machine ```bash -helm install -n cert-manager gcore-webhook ./deploy/helm +git clone https://github.com/G-Core/cert-manager-webhook-gcore.git +cd cert-manager-webhook-gcore +helm install -n cert-manager gcore-webhook --set groupName='' ./deploy/helm ``` **NOTE**: The kubernetes resources used to install the Webhook should be deployed within the same namespace as the cert-manager. @@ -108,7 +110,7 @@ spec: key: token production: true ttl: 600 - groupName: acme.mycompany.com + groupName: # Use the groupName defined above solverName: gcore EOF ``` diff --git a/deploy/webhook-all.yml b/deploy/webhook-all.yml index ab7035c..063abe4 100644 --- a/deploy/webhook-all.yml +++ b/deploy/webhook-all.yml @@ -69,7 +69,7 @@ metadata: name: gcore-webhook:domain-solver rules: - apiGroups: - - acme.mycompany.com + - acme.gcore.com resources: - '*' verbs: @@ -259,7 +259,7 @@ spec: - --tls-private-key-file=/tls/tls.key env: - name: GROUP_NAME - value: acme.mycompany.com + value: acme.gcore.com image: ghcr.io/g-core/cert-manager-webhook-gcore:latest imagePullPolicy: IfNotPresent livenessProbe: @@ -314,9 +314,9 @@ metadata: labels: app.kubernetes.io/name: gcore-webhook app.kubernetes.io/version: 0.1.1 - name: v1alpha1.acme.mycompany.com + name: v1alpha1.acme.gcore.com spec: - group: acme.mycompany.com + group: acme.gcore.com groupPriorityMinimum: 1000 service: name: gcore-webhook