This repository has been archived by the owner on Jan 25, 2024. It is now read-only.
fix security context helm chart #11
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
# https://github.com/marketplace/actions/kubectl-helm | |
on: | |
push: | |
paths: | |
- chart/** | |
name: helmtest | |
jobs: | |
deploy: | |
name: helmtest | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- name: helm lint | |
uses: wahyd4/kubectl-helm-action@master | |
with: | |
args: | | |
helm lint chart/ | |
env: | |
KUBE_CONFIG_DATA: ${{ secrets.KUBE_CONFIG_DATA }} | |
- name: helm template | |
uses: wahyd4/kubectl-helm-action@master | |
with: | |
args: | | |
helm template chart/ | |
env: | |
KUBE_CONFIG_DATA: ${{ secrets.KUBE_CONFIG_DATA }} | |
- name: helm unittest | |
uses: wahyd4/kubectl-helm-action@master | |
with: | |
args: | | |
helm plugin install https://github.com/quintush/helm-unittest | |
helm unittest -3 chart/ | |
env: | |
KUBE_CONFIG_DATA: ${{ secrets.KUBE_CONFIG_DATA }} |