Sync up to the latest it/dep commit.
[ric-plt/ric-dep.git] / helm / infrastructure / subcharts / kong / templates / crd-kongconsumer.yaml
1 {{- if and .Values.ingressController.enabled .Values.ingressController.installCRDs -}}
2 apiVersion: apiextensions.k8s.io/v1beta1
3 kind: CustomResourceDefinition
4 metadata:
5   name: kongconsumers.configuration.konghq.com
6   labels:
7     app: {{ template "kong.name" . }}
8     chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
9     release: "{{ .Release.Name }}"
10     heritage: "{{ .Release.Service }}"
11 spec:
12   group: configuration.konghq.com
13   version: v1
14   scope: Namespaced
15   names:
16     kind: KongConsumer
17     plural: kongconsumers
18     shortNames:
19     - kc
20   additionalPrinterColumns:
21   - name: Username
22     type: string
23     description: Username of a Kong Consumer
24     JSONPath: .username
25   - name: Age
26     type: date
27     description: Age
28     JSONPath: .metadata.creationTimestamp
29   validation:
30     openAPIV3Schema:
31       properties:
32         username:
33           type: string
34         custom_id:
35           type: string
36 {{- end -}}