-
Notifications
You must be signed in to change notification settings - Fork 86
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 #118 from turkenh/local-deploy
Setup e2e with Local Deploy and Uptest
- Loading branch information
Showing
9 changed files
with
44 additions
and
34 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
Submodule build
updated
5 files
+1 −1 | makelib/common.mk | |
+1 −1 | makelib/golang.mk | |
+34 −0 | makelib/helm.mk | |
+1 −1 | makelib/k8s_tools.mk | |
+8 −0 | makelib/xpkg.mk |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Empty file.
This file was deleted.
Oops, something went wrong.
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,18 @@ | ||
#!/usr/bin/env bash | ||
set -aeuo pipefail | ||
|
||
echo "Running setup.sh" | ||
|
||
echo "Creating the provider config with cluster admin permissions in cluster..." | ||
SA=$(${KUBECTL} -n upbound-system get sa -o name | grep provider-kubernetes | sed -e 's|serviceaccount\/|upbound-system:|g') | ||
${KUBECTL} create clusterrolebinding provider-kubernetes-admin-binding --clusterrole cluster-admin --serviceaccount="${SA}" --dry-run=client -o yaml | ${KUBECTL} apply -f - | ||
|
||
cat <<EOF | ${KUBECTL} apply -f - | ||
apiVersion: kubernetes.crossplane.io/v1alpha1 | ||
kind: ProviderConfig | ||
metadata: | ||
name: kubernetes-provider | ||
spec: | ||
credentials: | ||
source: InjectedIdentity | ||
EOF |