Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverbaehler committed Oct 19, 2023
1 parent 76eab7a commit 4e8d1d7
Show file tree
Hide file tree
Showing 19 changed files with 10 additions and 9 deletions.
5 changes: 1 addition & 4 deletions ct.yaml → .github/configs/ct.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,9 @@ chart-dirs:
- helm/
chart-repos:
- buttahtoast=https://buttahtoast.github.io/helm-charts/
- bedag=https://bedag.github.io/helm-charts/
- bitnami=https://charts.bitnami.com/bitnami
validate-chart-schema: true
validate-maintainers: false
validate-yaml: true
exclude-deprecated: true
check-version-increment: false
excluded-charts:
- "manifests"
check-version-increment: false
File renamed without changes.
6 changes: 3 additions & 3 deletions .github/workflows/helm-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ jobs:
- name: Run chart-testing (list-changed)
id: list-changed
run: |
changed=$(ct list-changed --config ./ct.yaml)
changed=$(ct list-changed --config .github/configs/ct.yaml)
if [[ -n "$changed" ]]; then
echo "::set-output name=changed::true"
fi
- name: Run chart-testing (lint)
run: ct lint --debug --config ./ct.yaml --lint-conf ./lintconf.yaml
run: ct lint --debug --config .github/configs/ct.yaml --lint-conf .github/configs/lintconf.yaml
- name: Run docs-testing (helm-docs)
id: helm-docs
run: |
Expand All @@ -46,5 +46,5 @@ jobs:

# Install Charts
- name: Run chart-testing (install)
run: ct install --debug --config ./ct.yaml
run: ct install --debug --config .github/configs/ct.yaml
if: steps.list-changed.outputs.changed == 'true'
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ helm-docs:

helm-lint: CT_VERSION := v3.3.1
helm-lint:
@docker run -v "$(SRC_ROOT):/workdir" --entrypoint /bin/sh quay.io/helmpack/chart-testing:$(CT_VERSION) -c "cd /workdir; ct lint --config ct.yaml --lint-conf lintconf.yaml --all --debug"
@docker run -v "$(SRC_ROOT):/workdir" --entrypoint /bin/sh quay.io/helmpack/chart-testing:$(CT_VERSION) -c "cd /workdir; ct lint --config .github/configs/ct.yaml --lint-conf .github/configs/lintconf.yaml --all --debug"


KO = $(shell pwd)/bin/ko
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,8 @@ metadata:
ingressclass.kubernetes.io/is-default-class: {{ .Values.ingressClass.isDefaultClass | quote }}
name: {{ .Values.ingressClass.name }}
spec:
{{- if .Values.ingressClass.controllerValue }}
controller: {{ .Values.ingressClass.controllerValue }}
{{- else }}
controller: "oliverbaehler.io/{{ include "cloudflare-tunnel-ingress-controller.fullname" $ }}"
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ ingressClass:
# -- Ingress class name
name: cloudflare-tunnel
# -- Ingress class controller
controllerValue: cloudflare-tunnel-ingress-controller
controllerValue: ""
# -- Cluster default ingress class
isDefaultClass: false

Expand Down

0 comments on commit 4e8d1d7

Please sign in to comment.