mirror of
https://github.com/vmware-tanzu/pinniped.git
synced 2026-09-27 10:24:39 +00:00
Split the config CRDs into two API groups.
Signed-off-by: Matt Moyer <moyerm@vmware.com>
This commit is contained in:
+2
-2
@@ -6,9 +6,9 @@ metadata:
|
||||
annotations:
|
||||
controller-gen.kubebuilder.io/version: v0.4.0
|
||||
creationTimestamp: null
|
||||
name: credentialissuerconfigs.config.pinniped.dev
|
||||
name: credentialissuerconfigs.config.concierge.pinniped.dev
|
||||
spec:
|
||||
group: config.pinniped.dev
|
||||
group: config.concierge.pinniped.dev
|
||||
names:
|
||||
kind: CredentialIssuerConfig
|
||||
listKind: CredentialIssuerConfigList
|
||||
@@ -59,7 +59,7 @@ rules:
|
||||
- apiGroups: [ "" ]
|
||||
resources: [ pods/exec ]
|
||||
verbs: [ create ]
|
||||
- apiGroups: [ config.pinniped.dev, authentication.concierge.pinniped.dev ]
|
||||
- apiGroups: [ config.concierge.pinniped.dev, authentication.concierge.pinniped.dev ]
|
||||
resources: [ "*" ]
|
||||
verbs: [ create, get, list, update, watch ]
|
||||
---
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#@ load("@ytt:overlay", "overlay")
|
||||
#@ load("helpers.lib.yaml", "labels")
|
||||
|
||||
#@overlay/match by=overlay.subset({"kind": "CustomResourceDefinition", "metadata":{"name":"credentialissuerconfigs.config.pinniped.dev"}}), expects=1
|
||||
#@overlay/match by=overlay.subset({"kind": "CustomResourceDefinition", "metadata":{"name":"credentialissuerconfigs.config.concierge.pinniped.dev"}}), expects=1
|
||||
---
|
||||
metadata:
|
||||
#@overlay/match missing_ok=True
|
||||
|
||||
@@ -137,7 +137,7 @@ The Supervisor can be configured as an OIDC provider by creating `OIDCProviderCo
|
||||
in the same namespace where the Supervisor app was installed. For example:
|
||||
|
||||
```yaml
|
||||
apiVersion: config.pinniped.dev/v1alpha1
|
||||
apiVersion: config.supervisor.pinniped.dev/v1alpha1
|
||||
kind: OIDCProviderConfig
|
||||
metadata:
|
||||
name: my-provider
|
||||
|
||||
+2
-2
@@ -6,9 +6,9 @@ metadata:
|
||||
annotations:
|
||||
controller-gen.kubebuilder.io/version: v0.4.0
|
||||
creationTimestamp: null
|
||||
name: oidcproviderconfigs.config.pinniped.dev
|
||||
name: oidcproviderconfigs.config.supervisor.pinniped.dev
|
||||
spec:
|
||||
group: config.pinniped.dev
|
||||
group: config.supervisor.pinniped.dev
|
||||
names:
|
||||
kind: OIDCProviderConfig
|
||||
listKind: OIDCProviderConfigList
|
||||
@@ -16,7 +16,7 @@ rules:
|
||||
- apiGroups: [""]
|
||||
resources: [secrets]
|
||||
verbs: [create, get, list, patch, update, watch, delete]
|
||||
- apiGroups: [config.pinniped.dev]
|
||||
- apiGroups: [config.supervisor.pinniped.dev]
|
||||
resources: [oidcproviderconfigs]
|
||||
verbs: [update, get, list, watch]
|
||||
---
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#@ load("@ytt:overlay", "overlay")
|
||||
#@ load("helpers.lib.yaml", "labels")
|
||||
|
||||
#@overlay/match by=overlay.subset({"kind": "CustomResourceDefinition", "metadata":{"name":"oidcproviderconfigs.config.pinniped.dev"}}), expects=1
|
||||
#@overlay/match by=overlay.subset({"kind": "CustomResourceDefinition", "metadata":{"name":"oidcproviderconfigs.config.supervisor.pinniped.dev"}}), expects=1
|
||||
---
|
||||
metadata:
|
||||
#@overlay/match missing_ok=True
|
||||
|
||||
Reference in New Issue
Block a user