Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects

Feature/secure connections

Merged Natalia Szakiel requested to merge feature/secure-connections into develop
1 file
+ 1
16
Compare changes
  • Side-by-side
  • Inline
+ 1
16
@@ -22,7 +22,7 @@ spec:
fsGroup: 1000
containers:
- name: filebeat
command: ['sh', '-c', 'exec /usr/share/filebeat/logs/example.sh & source /etc/cluster_uuid.env && exec /usr/share/filebeat/filebeat -e -c /usr/share/filebeat/filebeat.yml']
command: ['sh', '-c', 'exec /usr/share/filebeat/logs/example.sh & exec /usr/share/filebeat/filebeat -e -c /usr/share/filebeat/filebeat.yml']
volumeMounts:
- mountPath: /usr/share/filebeat/filebeat.yml
subPath: filebeat.yml
@@ -34,9 +34,6 @@ spec:
name: logstash-certs
- mountPath: /usr/share/filebeat/es-certs
name: es-certs
- mountPath: /etc/cluster_uuid.env
subPath: cluster_uuid.env
name: cluster-uuid
env:
- name: ELASTIC_ELASTICSEARCH_ES_HOSTS
value: 'https://elastic-elasticsearch-es-http.{{ .Release.Namespace }}.svc:9200'
@@ -55,11 +52,6 @@ spec:
secretKeyRef:
name: elastic-elasticsearch-es-elastic-user
key: elastic # This should match the key in your Secret
#- name: CLUSTER_UUID
# valueFrom:
# configMapKeyRef:
# name: get-cluster-uuid-script
# key: cluster_uuid
volumes:
- name: config
secret:
@@ -75,13 +67,6 @@ spec:
- name: es-certs
secret:
secretName: elastic-elasticsearch-http-cert-secret-internal
- name: cluster-uuid
configMap:
name: get-cluster-uuid-script
items:
- key: get_cluster_uuid.sh
path: /etc/cluster_uuid.env
---
apiVersion: v1
kind: Secret
Loading