Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workflow dispatch #12

Merged
merged 3 commits into from
Mar 14, 2024
Merged

Workflow dispatch #12

merged 3 commits into from
Mar 14, 2024

Conversation

geoffrey1330
Copy link
Collaborator

No description provided.

- name: Authenticate with Kubernetes cluster
run: |
mkdir -p "${HOME}/.kube"
echo ${{ secrets.KUBE_CONFIG_DATA }} | base64 --decode > ${HOME}/.kube/config
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

kubeconfig data also changes for a new cluster. You might also have to take kubeconfig from the workflow dispatch.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think leaving it as a secret is much better as it needs to be treated as one.
It is easily updated by changing the secret value with the new kubeconfig

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't we have to update the secret every time you run the e2e tests?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No we don't.
we only update it if the cluster we are testing on changes.

Copy link
Contributor

@boddumanohar boddumanohar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks we can go with this changes. Once this is merged, try to run a sample run against the k8s cluster.

@geoffrey1330 geoffrey1330 merged commit 0fb7dcc into master Mar 14, 2024
5 checks passed
@geoffrey1330 geoffrey1330 deleted the workflow_dispatch branch March 14, 2024 09:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants