bugfix: wordpress

main
Sven Ketelsen 4 years ago
parent 8cd6354260
commit 4f4f9a77f4

@ -19,6 +19,15 @@ spec:
- ip: "{{ .Values.sharedService.postgres.host.ip }}" - ip: "{{ .Values.sharedService.postgres.host.ip }}"
hostnames: hostnames:
- "{{ .Values.sharedService.postgres.host.name }}" - "{{ .Values.sharedService.postgres.host.name }}"
- ip: "{{ .Values.sharedService.elastic.host01.ip }}"
hostnames:
- "{{ .Values.sharedService.elastic.host01.name }}"
- ip: "{{ .Values.sharedService.elastic.host02.ip }}"
hostnames:
- "{{ .Values.sharedService.elastic.host02.name }}"
- ip: "{{ .Values.sharedService.elastic.host03.ip }}"
hostnames:
- "{{ .Values.sharedService.elastic.host03.name }}"
volumes: volumes:
- name: elastic-client-cert - name: elastic-client-cert
secret: secret:

@ -1,60 +0,0 @@
---
apiVersion: v1
kind: Service
metadata:
name: "{{ .Values.sharedService.elastic.host01.name }}"
spec:
ports:
- protocol: TCP
port: 9200
targetPort: 9200
---
apiVersion: v1
kind: Endpoints
metadata:
name: "{{ .Values.sharedService.elastic.host01.name }}"
subsets:
- addresses:
- ip: {{ .Values.sharedService.elastic.host01.ip }}
ports:
- port: 9200
---
apiVersion: v1
kind: Service
metadata:
name: "{{ .Values.sharedService.elastic.host02.name }}"
spec:
ports:
- protocol: TCP
port: 9200
targetPort: 9200
---
apiVersion: v1
kind: Endpoints
metadata:
name: "{{ .Values.sharedService.elastic.host02.name }}"
subsets:
- addresses:
- ip: {{ .Values.sharedService.elastic.host02.ip }}
ports:
- port: 9200
---
apiVersion: v1
kind: Service
metadata:
name: "{{ .Values.sharedService.elastic.host03.name }}"
spec:
ports:
- protocol: TCP
port: 9200
targetPort: 9200
---
apiVersion: v1
kind: Endpoints
metadata:
name: "{{ .Values.sharedService.elastic.host03.name }}"
subsets:
- addresses:
- ip: {{ .Values.sharedService.elastic.host03.ip }}
ports:
- port: 9200
Loading…
Cancel
Save