Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

Commit

Permalink
update security test
Browse files Browse the repository at this point in the history
  • Loading branch information
jmlrt committed Sep 6, 2022
1 parent a54e37b commit 3276ded
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 28 deletions.
31 changes: 13 additions & 18 deletions kibana/examples/security/test/goss.yaml
Original file line number Diff line number Diff line change
@@ -1,27 +1,22 @@
http:
https://localhost:5601/app/kibana:
http://localhost:5601/api/status:
status: 200
timeout: 2000
allow-insecure: true
username: '{{ .Env.ELASTICSEARCH_USERNAME }}'
password: '{{ .Env.ELASTICSEARCH_PASSWORD }}'

https://helm-kibana-security-kibana:5601/app/kibana:
status: 200
timeout: 2000
allow-insecure: true
username: '{{ .Env.ELASTICSEARCH_USERNAME }}'
password: '{{ .Env.ELASTICSEARCH_PASSWORD }}'
request-headers:
- "Authorization: Bearer {{ .Env.ELASTICSEARCH_SERVICEACCOUNTTOKEN}}"
body:
- '"number":"8.4.1"'

file:
/usr/share/kibana/config/kibana.yml:
exists: true
contains:
- 'server.ssl:'
- ' enabled: true'
- ' key: /usr/share/kibana/config/certs/elastic-certificate.pem'
- ' certificate: /usr/share/kibana/config/certs/elastic-certificate.pem'
- 'xpack.security.encryptionKey:'
- 'elasticsearch.ssl:'
- ' certificateAuthorities: /usr/share/kibana/config/certs/elastic-certificate.pem'
- ' verificationMode: certificate'
- "server.ssl:"
- " enabled: true"
- " key: /usr/share/kibana/config/certs/elastic-certificate.pem"
- " certificate: /usr/share/kibana/config/certs/elastic-certificate.pem"
- "xpack.security.encryptionKey:"
- "elasticsearch.ssl:"
- " certificateAuthorities: /usr/share/kibana/config/certs/elastic-certificate.pem"
- " verificationMode: certificate"
10 changes: 0 additions & 10 deletions kibana/examples/security/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,6 @@ extraEnvs:
secretKeyRef:
name: kibana
key: encryptionkey
- name: "ELASTICSEARCH_USERNAME"
valueFrom:
secretKeyRef:
name: security-master-credentials
key: username
- name: "ELASTICSEARCH_PASSWORD"
valueFrom:
secretKeyRef:
name: security-master-credentials
key: password

kibanaConfig:
kibana.yml: |
Expand Down

0 comments on commit 3276ded

Please sign in to comment.