Merge callback_handler_github_test.go into callback_handler_test.go

Co-authored-by: Joshua Casey <joshuatcasey@gmail.com>
This commit is contained in:
Ryan Richard
2024-05-22 21:21:45 -05:00
committed by Joshua Casey
co-authored by Joshua Casey
parent e69eb46911
commit 0a15d488c8
3 changed files with 132 additions and 278 deletions
+3 -4
View File
@@ -323,10 +323,9 @@ stringData:
EOF
# Grant the test user some RBAC permissions so we can play with kubectl as that user.
# TODO
# kubectl create clusterrolebinding github-test-user-can-view --clusterrole view \
# --user "$PINNIPED_TEST_GITHUB_TODO_WE_DONT_HAVE_THIS_VARIABLE_YET" \
# --dry-run=client --output yaml | kubectl apply -f -
kubectl create clusterrolebinding github-test-user-can-view --clusterrole view \
--user "$PINNIPED_TEST_GITHUB_USER_USERNAME:$PINNIPED_TEST_GITHUB_USERID" \
--dry-run=client --output yaml | kubectl apply -f -
fi
# Create a CA and TLS serving certificates for the Supervisor's FederationDomain.