File tree 3 files changed +18
-0
lines changed
3 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,10 @@ parameters:
20
20
description : Password to for incoming logstash http connections
21
21
generate : expression
22
22
from : " [a-zA-Z0-9]{32}"
23
+ - name : SEARCHGUARD_COOKIE_PASSWORD
24
+ description : Password to for searchguard cookies
25
+ generate : expression
26
+ from : " [a-zA-Z0-9]{32}"
23
27
- name : SAFE_BRANCH
24
28
description : Which branch this belongs to, special chars replaced with dashes
25
29
required : true
@@ -69,3 +73,9 @@ objects:
69
73
name : logstash-password
70
74
stringData :
71
75
LOGSTASH_PASSWORD : ${LOGSTASH_PASSWORD}
76
+ - kind : Secret
77
+ apiVersion : v1
78
+ metadata :
79
+ name : searchguard-cookie-password
80
+ stringData :
81
+ SEARCHGUARD_COOKIE_PASSWORD : ${SEARCHGUARD_COOKIE_PASSWORD}
Original file line number Diff line number Diff line change @@ -111,6 +111,11 @@ objects:
111
111
secretKeyRef :
112
112
name : keycloak-admin-password
113
113
key : KEYCLOAK_ADMIN_PASSWORD
114
+ - name : SEARCHGUARD_COOKIE_PASSWORD
115
+ valueFrom :
116
+ secretKeyRef :
117
+ name : searchguard-cookie-password
118
+ key : SEARCHGUARD_COOKIE_PASSWORD
114
119
resources :
115
120
requests :
116
121
cpu : 10m
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ ENV NODE_OPTIONS="--max-old-space-size=2048" \
11
11
12
12
RUN echo $'xpack.security.enabled: false\n \
13
13
xpack.monitoring.enabled: false\n \
14
+ xpack.reporting.encryptionKey: "${LOGSDB_UI_XPACK_REPORTING_ENCRYPTIONKEY:-lagoonrocksyou}"\n \
14
15
\n \
15
16
# Configure the Kibana internal server user\n \
16
17
elasticsearch.username: "kibanaserver"\n \
@@ -44,6 +45,8 @@ searchguard.openid.base_redirect_url: "${LOGSDB_UI_URL:-http://0.0.0.0:5601}"\n\
44
45
\n \
45
46
# optional: the scope of the identity token\n \
46
47
searchguard.openid.scope: "profile email"\n \
48
+ \n \
49
+ searchguard.cookie.password: "${SEARCHGUARD_COOKIE_PASSWORD:-aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa}"\n \
47
50
' >> config/kibana.yml
48
51
49
52
RUN bin/kibana-plugin install https://search.maven.org/remotecontent?filepath=com/floragunn/search-guard-kibana-plugin/6.4.2-15/search-guard-kibana-plugin-6.4.2-15.zip
You can’t perform that action at this time.
0 commit comments