v1.18 support changes

This commit is contained in:
Pat Christopher 2020-10-03 22:54:17 -05:00
parent 90c9f7b3e1
commit 60272a7730
No known key found for this signature in database
GPG Key ID: 298285BC16255C5B
2 changed files with 69 additions and 58 deletions

View File

@ -9,9 +9,18 @@ metadata:
addonmanager.kubernetes.io/mode: Reconcile
kubernetes.io/name: "Elasticsearch"
spec:
clusterIP: None
ports:
- port: 9200
- name: db
port: 9200
protocol: TCP
targetPort: db
targetPort: 9200
- name: transport
port: 9300
protocol: TCP
targetPort: 9300
publishNotReadyAddresses: true
selector:
k8s-app: elasticsearch-logging
sessionAffinity: None
type: ClusterIP

View File

@ -18,11 +18,11 @@ metadata:
rules:
- apiGroups:
- ""
resources:
- resources:
- "services"
- "namespaces"
- "endpoints"
verbs:
- verbs:
- "get"
---
kind: ClusterRoleBinding
@ -104,6 +104,8 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: "MINIMUM_MASTER_NODES"
value: "1"
volumes:
- name: elasticsearch-logging
emptyDir: {}