We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bcf6520 commit f19b25dCopy full SHA for f19b25d
k8s/k8s-manifest-elastic.yml
@@ -120,6 +120,20 @@ spec:
120
labels:
121
app: kibana
122
spec:
123
+ initContainers:
124
+ # gen-ai assistants in kibana save state in a way that requires system
125
+ # access, so set kibana_system's password to a known value.
126
+ - name: setup-kibana-system-user
127
+ image: docker.elastic.co/elasticsearch/elasticsearch:8.17.2
128
+ command:
129
+ - bash
130
+ - -c
131
+ - |
132
+ echo "Setup the kibana_system password";
133
+ until curl --max-time 1 -s -u "elastic:elastic" \
134
+ -X POST http://elasticsearch.default.svc:9200/_security/user/kibana_system/_password \
135
+ -d "{\"password\":\"elastic\"}" \
136
+ -H "Content-Type: application/json" | grep -q "^{}"; do sleep 5; done;
137
containers:
138
- name: kibana
139
image: docker.elastic.co/kibana/kibana:9.0.0
0 commit comments