docs-csm
docs-csm copied to clipboard
CASMPET-7201 update IUF workflows for k8s 1.24 in CSM 1.6
Description
This PR updates IUF workflows for k8s 1.24 in CSM 1.6. There are two changes included in this PR.
- Add 'node-role.kubernetes.io/control-plane' toleration to argo workflows so that these workflows can be scheduled on master nodes. Without this toleration, these workflows are not able to be scheduled.
- Have the iufBase.template.argo.yaml create an API token for the serviceaccount/default in the argo namespace. This change is needed because in k8s 1.24, service account tokens are not created automatically.
I updated this on Fanta and saw that IUF workflow pods were able to be scheduled on master nodes. I also ran the kubectl-and-curl-template and saw that CSI commands work when the token is gotten by using the command 'kubectl -n argo create token default'. This change is backwards compatible.
- This resolves CASMPET-7201
- This resolves CASMPET-7206
Checklist
- [x] If I added any command snippets, the steps they belong to follow the prompt conventions (see example).
- [x] If I added a new directory, I also updated
.github/CODEOWNERS
with the corresponding team in Cray-HPE. - [x] My commits or Pull-Request Title contain my JIRA information, or I do not have a JIRA.