CASMTRIAGE-7349 remove kubeconfig from IUF SAT template #5421
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
SAT is printing information that is unexpected by IUF. Because of this, IUF management-nodes-rollout is failing because it is not able to parse the output.
To fix this we should allow SAT to load the kubeconfig from the system and get the VCS password itself. Doing this, will cause SAT not to output the VCS password that is being passed in.
More detailed description
SAT being able to load the kubeconfig from the system is new in CSM 1.5 which is why this was not implemented in the first place. In CSM 1.6, a bad kubeconfig was being passed to SAT (because of a k8s 1.24 change) which prevented SAT from getting the necessary VCS password. A workaround solution was recently put in place to provide the VCS password to SAT. However, because SAT is able to load the kubeconfig from the system, there is no need to pass in the vcs password or provide a bad kubeconfig. This PR removes the vcs password and kubeconfig that are provided to SAT. As a result of this, SAT is able to output the expected information.
Testing
This output is from the current, problematic SAT template. It is creating bad output by printing the vcs password
The output below is the output from the updated template in this PR.
Checklist
.github/CODEOWNERS
with the corresponding team in Cray-HPE.