Remove the Namespace resource from Helm chart
Signed-off-by: James Munnelly <james@munnelly.eu>
This commit is contained in:
parent
c0fc03c6a4
commit
bb7d2f5f4e
@ -1,9 +0,0 @@
|
|||||||
{{ if .Values.createNamespaceResource }}
|
|
||||||
apiVersion: v1
|
|
||||||
kind: Namespace
|
|
||||||
metadata:
|
|
||||||
name: {{ .Release.Namespace | quote }}
|
|
||||||
labels:
|
|
||||||
name: {{ .Release.Namespace | quote }}
|
|
||||||
certmanager.k8s.io/disable-validation: "true"
|
|
||||||
{{- end }}
|
|
||||||
@ -74,11 +74,6 @@ ingressShim: {}
|
|||||||
webhook:
|
webhook:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|
||||||
# This is used by the static manifest generator in order to create a static
|
|
||||||
# namespace manifest for the namespace that cert-manager is being installed
|
|
||||||
# within. It should **not** be used if you are using Helm for deployment.
|
|
||||||
createNamespaceResource: false
|
|
||||||
|
|
||||||
# Use these variables to configure the HTTP_PROXY environment variables
|
# Use these variables to configure the HTTP_PROXY environment variables
|
||||||
# http_proxy: "http://proxy:8080"
|
# http_proxy: "http://proxy:8080"
|
||||||
# http_proxy: "http://proxy:8080"
|
# http_proxy: "http://proxy:8080"
|
||||||
|
|||||||
@ -1,14 +1,3 @@
|
|||||||
---
|
|
||||||
# Source: cert-manager/templates/00-namespace.yaml
|
|
||||||
|
|
||||||
apiVersion: v1
|
|
||||||
kind: Namespace
|
|
||||||
metadata:
|
|
||||||
name: "cert-manager"
|
|
||||||
labels:
|
|
||||||
name: "cert-manager"
|
|
||||||
certmanager.k8s.io/disable-validation: "true"
|
|
||||||
|
|
||||||
---
|
---
|
||||||
# Source: cert-manager/charts/webhook/templates/serviceaccount.yaml
|
# Source: cert-manager/charts/webhook/templates/serviceaccount.yaml
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
|
|||||||
@ -27,6 +27,8 @@ name of your Helm release for cert-manager (usually this is ``cert-manager``):
|
|||||||
$ kubectl apply \
|
$ kubectl apply \
|
||||||
-f https://raw.githubusercontent.com/jetstack/cert-manager/${VERSION}/deploy/manifests/00-crds.yaml
|
-f https://raw.githubusercontent.com/jetstack/cert-manager/${VERSION}/deploy/manifests/00-crds.yaml
|
||||||
|
|
||||||
|
$ kubectl label namespace cert-manager certmanager.k8s.io/disable-validation=true
|
||||||
|
|
||||||
$ helm upgrade --version ${VERSION} <release_name> stable/cert-manager
|
$ helm upgrade --version ${VERSION} <release_name> stable/cert-manager
|
||||||
|
|
||||||
This will upgrade you to the latest version of cert-manager, as listed in the
|
This will upgrade you to the latest version of cert-manager, as listed in the
|
||||||
@ -54,6 +56,9 @@ version number you want to install:
|
|||||||
$ kubectl apply \
|
$ kubectl apply \
|
||||||
-f https://raw.githubusercontent.com/jetstack/cert-manager/${VERSION}/deploy/manifests/00-crds.yaml
|
-f https://raw.githubusercontent.com/jetstack/cert-manager/${VERSION}/deploy/manifests/00-crds.yaml
|
||||||
|
|
||||||
|
# Ensure resource validation is disabled on the cert-manager namespace
|
||||||
|
$ kubectl label namespace cert-manager certmanager.k8s.io/disable-validation=true
|
||||||
|
|
||||||
$ kubectl apply \
|
$ kubectl apply \
|
||||||
-f https://raw.githubusercontent.com/jetstack/cert-manager/${VERSION}/deploy/manifests/cert-manager.yaml
|
-f https://raw.githubusercontent.com/jetstack/cert-manager/${VERSION}/deploy/manifests/cert-manager.yaml
|
||||||
|
|
||||||
|
|||||||
@ -59,6 +59,12 @@ To install cert-manager using the static manifests, you should run:
|
|||||||
$ kubectl apply \
|
$ kubectl apply \
|
||||||
-f https://raw.githubusercontent.com/jetstack/cert-manager/v0.6.0/deploy/manifests/00-crds.yaml
|
-f https://raw.githubusercontent.com/jetstack/cert-manager/v0.6.0/deploy/manifests/00-crds.yaml
|
||||||
|
|
||||||
|
# Create a namespace to run cert-manager in
|
||||||
|
$ kubectl create namespace cert-manager
|
||||||
|
|
||||||
|
# Disable resource validation on the cert-manager namespace
|
||||||
|
$ kubectl label namespace cert-manager certmanager.k8s.io/disable-validation=true
|
||||||
|
|
||||||
# Install cert-manager
|
# Install cert-manager
|
||||||
$ kubectl apply \
|
$ kubectl apply \
|
||||||
-f https://raw.githubusercontent.com/jetstack/cert-manager/v0.6.0/deploy/manifests/cert-manager.yaml
|
-f https://raw.githubusercontent.com/jetstack/cert-manager/v0.6.0/deploy/manifests/cert-manager.yaml
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user