Remove levelup.eliasdh.com entry from CoreDNS ConfigMap #95
This file contains hidden or 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
############################ | |
# @author EliasDH Team # | |
# @see https://eliasdh.com # | |
# @since 01/01/2025 # | |
############################ | |
name: Validate | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
lint-yaml: | |
name: Lint YAML Files | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: read | |
statuses: write | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Lint YAML Files | |
uses: super-linter/super-linter@v7.2.0 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
VALIDATE_YAML: true | |
VALIDATE_YAML_FILES: "supercluster/**/*" | |
validate-yaml: | |
name: Validate Kubernetes Manifests | |
runs-on: ubuntu-latest | |
needs: lint-yaml | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Install kubectl | |
uses: azure/setup-kubectl@v3 | |
with: | |
version: 'v1.28.0' | |
- name: Validate Kubernetes YAML Cluster01 | |
run: | | |
# Test all YAML files under 'Cluster01/' for syntax errors | |
for file in $(find cluster01 -name '*.yaml'); do | |
echo "Validating $file" | |
kubectl apply --dry-run=client -f $file | |
done | |
- name: Validate Kubernetes YAML Cluster02 | |
run: | | |
# Test all YAML files under 'Cluster02/' for syntax errors | |
for file in $(find cluster02 -name '*.yaml'); do | |
echo "Validating $file" | |
kubectl apply --dry-run=client -f $file | |
done | |
- name: Validate Kubernetes YAML Cluster03 | |
run: | | |
# Test all YAML files under 'Cluster03/' for syntax errors | |
for file in $(find cluster03 -name '*.yaml'); do | |
echo "Validating $file" | |
kubectl apply --dry-run=client -f $file | |
done |