Skip to content

Commit 88c1525

Browse files
author
Borja Aranda
committed
fix(deploy): fix csr-autoapprover serviceaccount path
1 parent 796904f commit 88c1525

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

finish-deployment/deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ function generate_spoke_csr-approver_kubeconfig() {
108108
# Then, create the ClusterRoleBinding and final kubeconfig
109109
oc --kubeconfig=${SPOKE_KUBECONFIG} apply -f ${SPOKE_CSR_RESOURCES}
110110
oc --kubeconfig=${SPOKE_KUBECONFIG} adm policy add-cluster-role-to-user ztpfw-csr-approver -z ztpfw-csr-approver -n openshift-infra
111-
oc --kubeconfig=${SPOKE_KUBECONFIG} serviceaccounts create-kubeconfig ztpfw-csr-approver >${SPOKE_CSR_KUBECONFIG}
111+
oc --kubeconfig=${SPOKE_KUBECONFIG} serviceaccounts create-kubeconfig ztpfw-csr-approver -n openshift-infra > ${SPOKE_CSR_KUBECONFIG}
112112
}
113113

114114
function save_files() {

0 commit comments

Comments
 (0)