Skip to content

Commit

Permalink
CI: Helm Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
cheina97 authored and adamjensenbot committed Dec 1, 2023
1 parent 35b65b3 commit 9fb003e
Show file tree
Hide file tree
Showing 12 changed files with 17 additions and 10 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,3 +123,19 @@ jobs:
working-directory: ./docs
run: |
make linkcheck
helmlint:
name: Lint helm chart
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
with:
ref: "${{ github.event.pull_request.head.sha }}"
repository: ${{github.event.pull_request.head.repo.full_name}}
persist-credentials: false
- name: Verify that the helm chart is well-formed
uses: WyriHaximus/github-action-helm3@v3
with:
exec:
helm lint ./deployments/liqo --with-subcharts --set tag=fakeversion --set discovery.config.clusterName=fakename
1 change: 1 addition & 0 deletions deployments/liqo/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
apiVersion: v2
name: liqo
description: A Helm chart for Liqo
icon: https://liqo.io/imgs/favicon.svg

# A chart can be either an 'application' or a 'library' chart.
#
Expand Down
1 change: 0 additions & 1 deletion deployments/liqo/templates/liqo-auth-deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
{{- $authConfig := (merge (dict "name" "auth" "module" "discovery" "containerName" "cert-creator") .) -}}
{{- $awsConfig := (merge (dict "name" "aws-config" "module" "aws-config") .) -}}

Expand Down
1 change: 0 additions & 1 deletion deployments/liqo/templates/liqo-auth-rbac.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
{{- $authConfig := (merge (dict "name" "auth" "module" "discovery") .) -}}

apiVersion: v1
Expand Down
1 change: 0 additions & 1 deletion deployments/liqo/templates/liqo-auth-service.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
{{- $authConfig := (merge (dict "name" "auth" "module" "discovery") .) -}}

apiVersion: v1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
{{- $ctrlManagerConfig := (merge (dict "name" "controller-manager" "module" "controller-manager") .) -}}
{{- $virtualKubeletConfigLocal := (merge (dict "name" "virtual-kubelet-local" "module" "virtualkubelet") .) -}}
{{- $virtualKubeletConfigRemote := (merge (dict "name" "virtual-kubelet-remote" "module" "virtualkubelet") .) -}}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
{{- $ctrlManagerConfig := (merge (dict "name" "controller-manager" "module" "controller-manager") .) -}}

apiVersion: v1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
{{- $crdReplicatorConfig := (merge (dict "name" "crd-replicator" "module" "dispatcher") .) -}}

apiVersion: apps/v1
Expand Down
1 change: 0 additions & 1 deletion deployments/liqo/templates/liqo-crd-replicator-rbac.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
{{- $crdReplicatorConfig := (merge (dict "name" "crd-replicator" "module" "dispatcher") .) -}}

apiVersion: v1
Expand Down
1 change: 0 additions & 1 deletion deployments/liqo/templates/liqo-proxy-configmap.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
{{- $proxyConfig := (merge (dict "name" "proxy" "module" "networking") .) -}}

apiVersion: v1
Expand Down
1 change: 0 additions & 1 deletion deployments/liqo/templates/liqo-proxy-deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
{{- $proxyConfig := (merge (dict "name" "proxy" "module" "networking") .) -}}

apiVersion: apps/v1
Expand Down
1 change: 0 additions & 1 deletion deployments/liqo/templates/liqo-proxy-service.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
{{- $proxyConfig := (merge (dict "name" "proxy" "module" "networking") .) -}}

apiVersion: v1
Expand Down

0 comments on commit 9fb003e

Please sign in to comment.