Documentation: add docs for TPR to CRD migration
This commit is contained in:
13
scripts/dump-tprs
Normal file
13
scripts/dump-tprs
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
if [ -z $DEX_NAMESPACE ];then
|
||||
echo "Must export \$DEX_NAMESPACE"
|
||||
exit
|
||||
fi
|
||||
|
||||
for RESOURCE in authcodes authrequests connectors oauth2clients offlinesessionses refreshtokens passwords signingkeies; do
|
||||
kubectl get --namespace=$DEX_NAMESPACE $RESOURCE.oidc.coreos.com -o yaml
|
||||
done
|
||||
|
||||
12
scripts/manifests/crds/authcodes.yaml
Normal file
12
scripts/manifests/crds/authcodes.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
apiVersion: apiextensions.k8s.io/v1beta1
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
name: authcodes.dex.coreos.com
|
||||
spec:
|
||||
group: dex.coreos.com
|
||||
names:
|
||||
kind: AuthCode
|
||||
listKind: AuthCodeList
|
||||
plural: authcodes
|
||||
singular: authcode
|
||||
version: v1
|
||||
12
scripts/manifests/crds/authrequests.yaml
Normal file
12
scripts/manifests/crds/authrequests.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
apiVersion: apiextensions.k8s.io/v1beta1
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
name: authrequests.dex.coreos.com
|
||||
spec:
|
||||
group: dex.coreos.com
|
||||
names:
|
||||
kind: AuthRequest
|
||||
listKind: AuthRequestList
|
||||
plural: authrequests
|
||||
singular: authrequest
|
||||
version: v1
|
||||
12
scripts/manifests/crds/connectors.yaml
Normal file
12
scripts/manifests/crds/connectors.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
apiVersion: apiextensions.k8s.io/v1beta1
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
name: connectors.dex.coreos.com
|
||||
spec:
|
||||
group: dex.coreos.com
|
||||
names:
|
||||
kind: Connector
|
||||
listKind: ConnectorList
|
||||
plural: connectors
|
||||
singular: connector
|
||||
version: v1
|
||||
12
scripts/manifests/crds/oauth2clients.yaml
Normal file
12
scripts/manifests/crds/oauth2clients.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
apiVersion: apiextensions.k8s.io/v1beta1
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
name: oauth2clients.dex.coreos.com
|
||||
spec:
|
||||
group: dex.coreos.com
|
||||
names:
|
||||
kind: OAuth2Client
|
||||
listKind: OAuth2ClientList
|
||||
plural: oauth2clients
|
||||
singular: oauth2client
|
||||
version: v1
|
||||
12
scripts/manifests/crds/offlinesessionses.yaml
Normal file
12
scripts/manifests/crds/offlinesessionses.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
apiVersion: apiextensions.k8s.io/v1beta1
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
name: offlinesessionses.dex.coreos.com
|
||||
spec:
|
||||
group: dex.coreos.com
|
||||
names:
|
||||
kind: OfflineSessions
|
||||
listKind: OfflineSessionsList
|
||||
plural: offlinesessionses
|
||||
singular: offlinesessions
|
||||
version: v1
|
||||
12
scripts/manifests/crds/passwords.yaml
Normal file
12
scripts/manifests/crds/passwords.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
apiVersion: apiextensions.k8s.io/v1beta1
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
name: passwords.dex.coreos.com
|
||||
spec:
|
||||
group: dex.coreos.com
|
||||
names:
|
||||
kind: Password
|
||||
listKind: PasswordList
|
||||
plural: passwords
|
||||
singular: password
|
||||
version: v1
|
||||
12
scripts/manifests/crds/refreshtokens.yaml
Normal file
12
scripts/manifests/crds/refreshtokens.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
apiVersion: apiextensions.k8s.io/v1beta1
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
name: refreshtokens.dex.coreos.com
|
||||
spec:
|
||||
group: dex.coreos.com
|
||||
names:
|
||||
kind: RefreshToken
|
||||
listKind: RefreshTokenList
|
||||
plural: refreshtokens
|
||||
singular: refreshtoken
|
||||
version: v1
|
||||
12
scripts/manifests/crds/signingkeies.yaml
Normal file
12
scripts/manifests/crds/signingkeies.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
apiVersion: apiextensions.k8s.io/v1beta1
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
name: signingkeies.dex.coreos.com
|
||||
spec:
|
||||
group: dex.coreos.com
|
||||
names:
|
||||
kind: SigningKey
|
||||
listKind: SigningKeyList
|
||||
plural: signingkeies
|
||||
singular: signingkey
|
||||
version: v1
|
||||
Reference in New Issue
Block a user