Extend K8S and RIC installation instructions
[it/dep.git] / ric-infra / 30-Kong / helm / kong / charts / kong / templates / crd-kongplugins.yaml
1 {{- if and .Values.ingressController.enabled .Values.ingressController.installCRDs -}}
2 apiVersion: apiextensions.k8s.io/v1beta1
3 kind: CustomResourceDefinition
4 metadata:
5   name: kongplugins.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: KongPlugin
17     plural: kongplugins
18     shortNames:
19     - kp
20   additionalPrinterColumns:
21   - name: Plugin-Type
22     type: string
23     description: Name of the plugin
24     JSONPath: .plugin
25   - name: Age
26     type: date
27     description: Age
28     JSONPath: .metadata.creationTimestamp
29   - name: Disabled
30     type: boolean
31     description: Indicates if the plugin is disabled
32     JSONPath: .disabled
33     priority: 1
34   - name: Config
35     type: string
36     description: Configuration of the plugin
37     JSONPath: .config
38     priority: 1
39   validation:
40     openAPIV3Schema:
41       required:
42       - plugin
43       properties:
44         plugin:
45           type: string
46         disabled:
47           type: boolean
48         config:
49           type: object
50 {{- end -}}