Skip to content

Commit 9f9e1f6

Browse files
allow service to be disabled (#59)
* allow service to be disabled * bump chart * ci: update actions
1 parent 5f19434 commit 9f9e1f6

File tree

5 files changed

+8
-3
lines changed

5 files changed

+8
-3
lines changed

.github/workflows/lint-test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ jobs:
1414
- name: Set up Helm
1515
uses: azure/setup-helm@v1
1616
with:
17-
version: v3.8.1
17+
version: v3.13.2
1818

1919
- uses: actions/setup-python@v2
2020
with:
2121
python-version: 3.7
2222

2323
- name: Set up chart-testing
24-
uses: helm/chart-testing-action@v2.4.0
24+
uses: helm/chart-testing-action@v2
2525

2626
- name: Run chart-testing (list-changed)
2727
id: list-changed

charts/application-core/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
*.local.yaml
2+
local.yaml

charts/application-core/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 1.6.0
18+
version: 1.7.0
1919

2020
maintainers:
2121
- name: Dominic DePasquale

charts/application-core/templates/service.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{{- if .Values.service.enabled -}}
12
apiVersion: v1
23
kind: Service
34
metadata:
@@ -18,3 +19,4 @@ spec:
1819
name: http
1920
selector:
2021
{{- include "application-core.selectorLabels" . | nindent 4 }}
22+
{{- end -}}

charts/application-core/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ securityContext:
5656
# runAsUser: 1000
5757

5858
service:
59+
enabled: true
5960
type: ClusterIP
6061
port: 8000
6162
annotations: {}

0 commit comments

Comments
 (0)