Update Istio sidecar 1.19.3 #83
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: analyze | |
on: | |
workflow_dispatch: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
permissions: | |
contents: read | |
jobs: | |
istio: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Get Istio current version | |
id: get-istio-version | |
run: | | |
ISTIO_VERSION=$(yq eval '.data.version' ./clusters/my-cluster/istio-version.yaml) | |
echo "ISTIO_VERSION=$ISTIO_VERSION" >> $GITHUB_ENV | |
- name: Get Istio CTL URL | |
id: get-istioctl | |
uses: istio/[email protected] | |
with: | |
version: ${{ env.ISTIO_VERSION }} | |
- name: Analyze manifests | |
run: | | |
istioctl analyze -A --use-kube=false \ | |
--failure-threshold ERROR \ | |
$(find . -not -path "*/.git*/*" -not -path "*/clusters/*" \ | |
-not -name "*.patch.yaml" -not -name "kustomization.yaml" -name "*.yaml" -type f) |