Skip to content

Add template labels support to kubernetes labels #1692

Add template labels support to kubernetes labels

Add template labels support to kubernetes labels #1692

Workflow file for this run

name: Check examples
on:
push:
branches:
- main
paths:
- "_examples/kubernetes_manifest/**"
- "**.go"
pull_request:
branches:
- main
paths:
- "_examples/kubernetes_manifest/**"
- "**.go"
workflow_dispatch:
env:
KUBECONFIG: ${{ github.workspace }}/.kube/config
jobs:
check:
runs-on: ubuntu-latest
strategy:
matrix:
terraform_version:
- "1.2.9"
- "1.3.9"
- "1.4.0"
- "1.6.0"
- "1.7.0"
- "1.8.0"
env:
TF_X_KUBERNETES_MANIFEST_RESOURCE: 1
TERM: linux
steps:
- uses: hashicorp/setup-terraform@a1502cd9e758c50496cc9ac5308c4843bcd56d36 # v3.0.0
with:
terraform_version: ${{ matrix.terraform_version }}
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.2
- name: Set up Go
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
with:
go-version-file: 'go.mod'
- name: Go mod verify
run: go mod verify
- name: Go build
run: go build
- name: Setup kind
uses: helm/kind-action@99576bfa6ddf9a8e612d83b513da5a75875caced # v1.9.0
with:
wait: 2m
version: "v0.17.0" # Kubernetes version: 1.25.X
- name: Check examples run
env:
KUBE_CONFIG_PATH: ${{ env.KUBECONFIG }}
run: ./manifest/scripts/check_examples.sh