From a3b2f76652071148c848dc626ef80c64eb62873e Mon Sep 17 00:00:00 2001 From: Erki Aas Date: Sun, 30 Jul 2023 12:34:42 +0300 Subject: [PATCH] oidc: update CRDs --- oidc-gateway/crds.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/oidc-gateway/crds.yml b/oidc-gateway/crds.yml index 864eff6..dd928f6 100644 --- a/oidc-gateway/crds.yml +++ b/oidc-gateway/crds.yml @@ -24,7 +24,13 @@ spec: properties: spec: type: object + required: + - type properties: + type: + type: string + enum: [ 'person', 'org', 'service', 'banned' ] + default: person email: type: string companyEmail: @@ -114,6 +120,9 @@ spec: x-kubernetes-embedded-resource: true x-kubernetes-preserve-unknown-fields: true additionalPrinterColumns: + - name: Type + type: string + jsonPath: .spec.type - name: Name type: string jsonPath: .status.profile.name