-
Notifications
You must be signed in to change notification settings - Fork 134
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make it possible to create a dedicated hazelcast svc
- Loading branch information
Yevhen Ivantsov
committed
Oct 8, 2023
1 parent
347bf3a
commit 322ec0c
Showing
7 changed files
with
113 additions
and
0 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
src/main/charts/bitbucket/templates/service-hazelcast.yaml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{{ if .Values.bitbucket.hazelcastService.enabled }} | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: {{ include "common.names.fullname" . }}-hazelcast | ||
labels: | ||
{{- include "common.labels.commonLabels" . | nindent 4 }} | ||
annotations: | ||
{{- with .Values.bitbucket.hazelcastService.annotations }} | ||
{{- toYaml . | nindent 4 }} | ||
{{- end }} | ||
spec: | ||
type: {{ .Values.bitbucket.service.type }} | ||
ports: | ||
- port: {{ .Values.bitbucket.ports.hazelcast }} | ||
targetPort: hazelcast | ||
protocol: TCP | ||
name: hazelcast | ||
selector: | ||
{{- include "common.labels.selectorLabels" . | nindent 4 }} | ||
{{ end }} |
This file contains 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
This file contains 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
21 changes: 21 additions & 0 deletions
21
src/main/charts/confluence/templates/service-hazelcast.yaml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{{ if .Values.confluence.hazelcastService.enabled }} | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: {{ include "common.names.fullname" . }}-hazelcast | ||
labels: | ||
{{- include "common.labels.commonLabels" . | nindent 4 }} | ||
annotations: | ||
{{- with .Values.confluence.hazelcastService.annotations }} | ||
{{- toYaml . | nindent 4 }} | ||
{{- end }} | ||
spec: | ||
type: {{ .Values.confluence.service.type }} | ||
ports: | ||
- port: {{ .Values.confluence.ports.hazelcast }} | ||
targetPort: hazelcast | ||
protocol: TCP | ||
name: hazelcast | ||
selector: | ||
{{- include "common.labels.selectorLabels" . | nindent 4 }} | ||
{{ end }} |
This file contains 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
This file contains 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
This file contains 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