-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1067 from rithujohn191/migrate-tprs
Documentation: add docs for TPR to CRD migration
- Loading branch information
Showing
10 changed files
with
142 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |