Merge pull request #114 from consideRatio/pr/update-calico-patch-vers… #383
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow is meant to verify the example we keep in the README.md is | |
# functional. Due to this, we need to make sure we keep it in sync. | |
--- | |
name: Example workflow | |
on: | |
pull_request: | |
push: | |
workflow_dispatch: | |
jobs: | |
k8s-test: | |
runs-on: ubuntu-22.04 | |
steps: | |
# GitHub Action reference: https://github.com/jupyterhub/action-k3s-helm | |
- name: Start a local k8s cluster | |
uses: jupyterhub/action-k3s-helm@v4 | |
with: | |
# See available: | |
# - k3s release channels at https://github.com/k3s-io/k3s/blob/HEAD/channel.yaml | |
# - k3s versions at https://github.com/k3s-io/k3s/tags | |
# - helm versions at https://github.com/helm/helm/tags | |
k3s-channel: latest | |
# k3s-version: v1.29.0+k3s1 | |
# helm-version: v3.13.0 | |
- name: Verify function of k8s, kubectl, and helm | |
run: | | |
echo "kubeconfig: $KUBECONFIG" | |
kubectl version | |
kubectl get pods --all-namespaces | |
helm version | |
helm list |