Skip to content

Commit cf66ec6

Browse files
authored
Add headless type of Service (#145)
Co-authored-by: Michal Pieta <[email protected]>
1 parent 6a96e25 commit cf66ec6

File tree

8 files changed

+15
-11
lines changed

8 files changed

+15
-11
lines changed

dotnet/Chart.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
apiVersion: v2
22
description: .NET Core Helm Chart
33
name: dotnet
4-
version: 12.0.0
4+
version: 12.1.0
55
dependencies:
66
- name: libchart
7-
version: 3.0.0
7+
version: 3.1.0
88
repository: file://../libchart

golang/Chart.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
apiVersion: v2
22
description: golan Helm Chart
33
name: golang
4-
version: 16.0.0
4+
version: 16.1.0
55
dependencies:
66
- name: libchart
7-
version: 3.0.0
7+
version: 3.1.0
88
repository: file://../libchart

java/Chart.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
apiVersion: v2
22
description: Java Helm Chart
33
name: java
4-
version: 9.0.0
4+
version: 9.1.0
55
dependencies:
66
- name: libchart
7-
version: 3.0.0
7+
version: 3.1.0
88
repository: file://../libchart

libchart/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type: library
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: 3.0.0
18+
version: 3.1.0
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to

libchart/templates/_service.tpl

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ metadata:
1111
{{- end }}
1212
spec:
1313
type: {{ .Values.service.type }}
14+
{{- if .Values.service.headless }}
15+
clusterIP: None
16+
{{- end }}
1417
ports:
1518
- port: {{ .Values.service.port }}
1619
targetPort: {{ .Values.service.targetPort | default "http" }}

libchart/values.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ readiness:
122122
# Service
123123
service:
124124
type: ClusterIP
125+
headless: false
125126
port: 80
126127
targetPort: 8080
127128
name: http

nodejs/Chart.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
apiVersion: v2
22
description: Node.js Helm Chart
33
name: nodejs
4-
version: 16.0.0
4+
version: 16.1.0
55
dependencies:
66
- name: libchart
7-
version: 3.0.0
7+
version: 3.1.0
88
repository: file://../libchart

web/Chart.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ apiVersion: v2
22
appVersion: "1.0"
33
description: Helm chart for deployment of web servers
44
name: web
5-
version: 13.0.0
5+
version: 13.1.0
66
dependencies:
77
- name: libchart
8-
version: 3.0.0
8+
version: 3.1.0
99
repository: file://../libchart

0 commit comments

Comments
 (0)