Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS has been phased out. To see alternatives please check here

Skip to content
Snippets Groups Projects
Commit 8c79b350 authored by Natalia Szakiel's avatar Natalia Szakiel
Browse files

secure conn logstash fix

parent f6426512
No related branches found
No related tags found
3 merge requests!48Develop,!46Develop,!7Feature/secure connections
...@@ -16,6 +16,10 @@ spec: ...@@ -16,6 +16,10 @@ spec:
count: {{ .count}} count: {{ .count}}
config: config:
xpack.security.authc.token.enabled: true xpack.security.authc.token.enabled: true
http.cors.enabled : true
http.cors.allow-origin : "*"
http.cors.allow-methods : OPTIONS, HEAD, GET, POST, PUT, DELETE
http.cors.allow-headers: "kbn-version, Origin, X-Requested-With, Content-Type, Accept, Engaged-Auth-Token"
volumeClaimTemplates: volumeClaimTemplates:
- metadata: - metadata:
name: elasticsearch-data name: elasticsearch-data
......
...@@ -55,8 +55,10 @@ spec: ...@@ -55,8 +55,10 @@ spec:
mountPath: /app/elastic/logstash/config/pipelines/{{- .name -}}.config mountPath: /app/elastic/logstash/config/pipelines/{{- .name -}}.config
subPath: {{ .name -}}.config subPath: {{ .name -}}.config
{{- end }} {{- end }}
- name: es-certs - name: logstash-certs
mountPath: /usr/share/logstash/certs-logstash mountPath: /usr/share/logstash/certs-logstash
- name: es-certs
mountPath: /usr/share/logstash/certs
env: env:
- name: LOGSTASH_USER - name: LOGSTASH_USER
valueFrom: valueFrom:
...@@ -79,9 +81,12 @@ spec: ...@@ -79,9 +81,12 @@ spec:
name: logstash-{{- $.Values.logstash.beats.pipelines_group_name -}}-{{- .name -}}-config name: logstash-{{- $.Values.logstash.beats.pipelines_group_name -}}-{{- .name -}}-config
defaultMode: 511 defaultMode: 511
{{- end }} {{- end }}
- name: es-certs - name: logstash-certs
secret: secret:
secretName: logstash-beats-ls-http-certs-public secretName: logstash-beats-ls-http-certs-public
- name: es-certs
secret:
secretName: elastic-elasticsearch-http-cert-secret
pipelinesRef: pipelinesRef:
secretName: logstash-{{ .Values.logstash.beats.pipelines_group_name }}-pipelines-yml secretName: logstash-{{ .Values.logstash.beats.pipelines_group_name }}-pipelines-yml
--- ---
......
...@@ -148,7 +148,7 @@ logstash: ...@@ -148,7 +148,7 @@ logstash:
password => "${LOGSTASH_PASSWORD}" password => "${LOGSTASH_PASSWORD}"
ssl_enabled => "true" ssl_enabled => "true"
ssl_verification_mode => "full" ssl_verification_mode => "full"
ssl_certificate_authorities => "${ELASTIC_ELASTICSEARCH_ES_SSL_CERTIFICATE_AUTHORITY}" ssl_certificate_authorities => "/mnt/elastic-internal/elasticsearch-association/observability/elastic-elasticsearch/certs/ca.crt"
data_stream => "true" data_stream => "true"
data_stream_type => "logs" data_stream_type => "logs"
data_stream_dataset => "filebeat" data_stream_dataset => "filebeat"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment