[stable/kong] add a variable to allow skipping installing CRDs (#9550)

If one wishes to install multiple instances of Ingress controller with
different classes, then there needs to be an option to skip installing
CRDs multiple times.

Signed-off-by: Harry Bagdi <harrybagdi@gmail.com>
This commit is contained in:
Harry
2018-11-26 11:18:30 -08:00
committed by k8s-ci-robot
parent 88975dbab3
commit 833923bd54
6 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -12,5 +12,5 @@ maintainers:
name: kong
sources:
- https://github.com/Kong/kong
version: 0.6.4
version: 0.6.5
appVersion: 0.14.1
+1 -1
View File
@@ -1,4 +1,4 @@
{{- if .Values.ingressController.enabled -}}
{{- if and .Values.ingressController.enabled .Values.ingressController.installCRDs -}}
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
@@ -1,4 +1,4 @@
{{- if .Values.ingressController.enabled -}}
{{- if and .Values.ingressController.enabled .Values.ingressController.installCRDs -}}
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
+1 -1
View File
@@ -1,4 +1,4 @@
{{- if .Values.ingressController.enabled -}}
{{- if and .Values.ingressController.enabled .Values.ingressController.installCRDs -}}
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
+1 -1
View File
@@ -1,4 +1,4 @@
{{- if .Values.ingressController.enabled -}}
{{- if and .Values.ingressController.enabled .Values.ingressController.installCRDs -}}
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
+2
View File
@@ -183,6 +183,8 @@ ingressController:
successThreshold: 1
timeoutSeconds: 5
installCRDs: true
rbac:
# Specifies whether RBAC resources should be created
create: true