Commit ddde6d95 authored by Geoff Simmons's avatar Geoff Simmons

Update the controller helm chart to support the TemplateConfig CRD.

parent b30410b2
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
name: templateconfigs.ingress.varnish-cache.org
spec:
group: ingress.varnish-cache.org
names:
kind: TemplateConfig
listKind: TemplateConfigList
plural: templateconfigs
singular: templateconfig
shortNames:
- tmplcfg
- tmplcfgs
scope: Namespaced
version: v1alpha1
versions:
- name: v1alpha1
served: true
storage: true
validation:
openAPIV3Schema:
required:
- spec
properties:
spec:
properties:
ingress:
type: string
minLength: 1
acl:
type: string
minLength: 1
auth:
type: string
minLength: 1
reqDisp:
type: string
minLength: 1
rewrite:
type: string
minLength: 1
shard:
type: string
minLength: 1
status:
acceptedNames:
kind: TemplateConfig
listKind: TemplateConfigList
plural: templateconfigs
singular: templateconfig
shortNames:
- tmplcfg
- tmplcfgs
storedVersions:
- v1alphav1
conditions: []
...@@ -54,6 +54,7 @@ rules: ...@@ -54,6 +54,7 @@ rules:
resources: resources:
- varnishconfigs - varnishconfigs
- backendconfigs - backendconfigs
- templateconfigs
verbs: verbs:
- list - list
- watch - watch
...@@ -63,6 +64,7 @@ rules: ...@@ -63,6 +64,7 @@ rules:
resources: resources:
- varnishconfigs/status - varnishconfigs/status
- backendconfigs/status - backendconfigs/status
- templateconfigs/status
verbs: verbs:
- update - update
{{- end }} {{- end }}
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
name: templateconfigs.ingress.varnish-cache.org
spec:
group: ingress.varnish-cache.org
names:
kind: TemplateConfig
listKind: TemplateConfigList
plural: templateconfigs
singular: templateconfig
shortNames:
- tmplcfg
- tmplcfgs
scope: Namespaced
version: v1alpha1
versions:
- name: v1alpha1
served: true
storage: true
validation:
openAPIV3Schema:
required:
- spec
properties:
spec:
properties:
ingress:
type: string
minLength: 1
acl:
type: string
minLength: 1
auth:
type: string
minLength: 1
reqDisp:
type: string
minLength: 1
rewrite:
type: string
minLength: 1
shard:
type: string
minLength: 1
status:
acceptedNames:
kind: TemplateConfig
listKind: TemplateConfigList
plural: templateconfigs
singular: templateconfig
shortNames:
- tmplcfg
- tmplcfgs
storedVersions:
- v1alphav1
conditions: []
../charts/viking-controller/crds/templatecfg-crd.yaml
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment