Sync up to the latest it/dep commit.
[ric-plt/ric-dep.git] / helm / infrastructure / subcharts / kong / templates / crd-kongcredential.yaml
1 {{- if and .Values.ingressController.enabled .Values.ingressController.installCRDs -}}
2 apiVersion: apiextensions.k8s.io/v1beta1
3 kind: CustomResourceDefinition
4 metadata:
5   name: kongcredentials.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: KongCredential
17     plural: kongcredentials
18   additionalPrinterColumns:
19   - name: Credential-type
20     type: string
21     description: Type of credential
22     JSONPath: .type
23   - name: Age
24     type: date
25     description: Age
26     JSONPath: .metadata.creationTimestamp
27   - name: Consumer-Ref
28     type: string
29     description: Owner of the credential
30     JSONPath: .consumerRef
31   validation:
32     openAPIV3Schema:
33       required:
34       - consumerRef
35       - type
36       properties:
37         consumerRef:
38           type: string
39         type:
40           type: string
41 {{- end -}}