Allow the user to configure container imagePullPolicy. #233
Workflow file for this run
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
name: Testsuite | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
kind: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: azure/[email protected] | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
id: install | |
- name: Lint | |
run: helm lint | |
- name: Create k8s Kind Cluster | |
uses: helm/[email protected] | |
with: | |
node_image: kindest/node:v1.21.14 | |
- name: Display cluster settings | |
run: | | |
kubectl cluster-info | |
kubectl get pods -n kube-system | |
echo "current-context:" $(kubectl config current-context) | |
echo "environment-kubeconfig:" ${KUBECONFIG} | |
- name: Testing | |
run: | | |
kubectl create namespace helm-test | |
helm install example-infinispan . -n helm-test --set deploy.replicas=2 | |
kubectl -n helm-test rollout status --watch --timeout=300s statefulset/example-infinispan | |
helm uninstall example-infinispan -n helm-test | |
kubectl delete namespace helm-test | |
- name: Testing TLS | |
run: | | |
kubectl create namespace helm-test | |
kubectl apply -f test/tls_secret.yaml -n helm-test | |
kubectl apply -f test/transport_tls_secret.yaml -n helm-test | |
helm install example-infinispan . -n helm-test -f values.yaml -f test/tls_values.snippet.yaml --set deploy.replicas=2 | |
kubectl -n helm-test rollout status --watch --timeout=300s statefulset/example-infinispan | |
helm uninstall example-infinispan -n helm-test | |
kubectl delete namespace helm-test |