Skip to content

Commit 378c8de

Browse files
author
Francisco de Borja Aranda Castillejo
authored
Merge pull request #260 from rh-ecosystem-edge/fix-ztpfw-csrautapprover-path
fix(deploy): fix csr-autoapprover serviceaccount path
2 parents 976325c + 88c1525 commit 378c8de

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)