X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=ric-infra%2F25-tiller%2Fhelm%2Fkong%2Fcharts%2Fkong%2Ftemplates%2Fcrd-kongconsumer.yaml;fp=ric-infra%2F25-tiller%2Fhelm%2Fkong%2Fcharts%2Fkong%2Ftemplates%2Fcrd-kongconsumer.yaml;h=a25eff50b0ded258e1ba4074559f26db1f732a9a;hb=ef05762e72bf0af584301bf58b2035f7ac4e3842;hp=0000000000000000000000000000000000000000;hpb=25428c74ecffd82152b5642cca81c19508d3218c;p=it%2Fdep.git diff --git a/ric-infra/25-tiller/helm/kong/charts/kong/templates/crd-kongconsumer.yaml b/ric-infra/25-tiller/helm/kong/charts/kong/templates/crd-kongconsumer.yaml new file mode 100755 index 00000000..a25eff50 --- /dev/null +++ b/ric-infra/25-tiller/helm/kong/charts/kong/templates/crd-kongconsumer.yaml @@ -0,0 +1,36 @@ +{{- if and .Values.ingressController.enabled .Values.ingressController.installCRDs -}} +apiVersion: apiextensions.k8s.io/v1beta1 +kind: CustomResourceDefinition +metadata: + name: kongconsumers.configuration.konghq.com + labels: + app: {{ template "kong.name" . }} + chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" + release: "{{ .Release.Name }}" + heritage: "{{ .Release.Service }}" +spec: + group: configuration.konghq.com + version: v1 + scope: Namespaced + names: + kind: KongConsumer + plural: kongconsumers + shortNames: + - kc + additionalPrinterColumns: + - name: Username + type: string + description: Username of a Kong Consumer + JSONPath: .username + - name: Age + type: date + description: Age + JSONPath: .metadata.creationTimestamp + validation: + openAPIV3Schema: + properties: + username: + type: string + custom_id: + type: string +{{- end -}}