remove more travis references in deploy scripts

This commit is contained in:
dandds 2018-10-31 14:13:04 -04:00
parent 20486915af
commit 13eefc781b
3 changed files with 7 additions and 7 deletions

View File

@ -9,7 +9,7 @@ set -o nounset
echo "${K8S_CA_CRT}" | base64 -d - > "${HOME}/k8s_ca.crt"
# Setup the local kubectl client
kubectl config set-context travis \
kubectl config set-context atst-deployer \
--cluster=atat-cluster \
--user=atat-deployer \
--namespace=atat
@ -21,7 +21,7 @@ kubectl config set-cluster atat-cluster \
kubectl config set-credentials atat-deployer --token="$(echo ${K8S_USER_TOKEN} | base64 -d -)"
kubectl config use-context travis
kubectl config use-context atst-deployer
kubectl config current-context
echo

View File

@ -8,7 +8,7 @@ kind: Role
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
namespace: atat
name: travis-deploy-role
name: atst-deploy-role
rules:
- apiGroups: ["extensions", "apps"]
resources: ["deployments"]
@ -26,7 +26,7 @@ rules:
kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
name: travis-role-binding
name: atst-role-binding
namespace: atat
subjects:
- kind: ServiceAccount
@ -34,5 +34,5 @@ subjects:
namespace: atat
roleRef:
kind: Role
name: travis-deploy-role
name: atst-deploy-role
apiGroup: rbac.authorization.k8s.io

View File

@ -28,7 +28,7 @@ trap cleanup EXIT
echo "${K8S_CA_CRT}" | base64 -d - > "${HOME}/k8s_ca.crt"
# Setup the local kubectl client
kubectl config set-context travis \
kubectl config set-context atst-deployer \
--cluster=atat-cluster \
--user=atat-deployer \
--namespace=atat
@ -40,7 +40,7 @@ kubectl config set-cluster atat-cluster \
kubectl config set-credentials atat-deployer --token="$(echo ${K8S_USER_TOKEN} | base64 -d -)"
kubectl config use-context travis
kubectl config use-context atst-deployer
kubectl config current-context
# Update the ATST deployment