Skip to content

Commit 7562945

Browse files
test(smoke): Do not apply the opensearch-security-config Secret twice
1 parent 0d5c5f6 commit 7562945

1 file changed

Lines changed: 0 additions & 96 deletions

File tree

tests/templates/kuttl/smoke/11-install-opensearch.yaml.j2

Lines changed: 0 additions & 96 deletions
Original file line numberDiff line numberDiff line change
@@ -75,99 +75,3 @@ spec:
7575
secret:
7676
secretName: opensearch-security-config
7777
defaultMode: 0o660
78-
---
79-
apiVersion: v1
80-
kind: Secret
81-
metadata:
82-
name: opensearch-security-config
83-
stringData:
84-
action_groups.yml: |
85-
---
86-
_meta:
87-
type: actiongroups
88-
config_version: 2
89-
allowlist.yml: |
90-
---
91-
_meta:
92-
type: allowlist
93-
config_version: 2
94-
95-
config:
96-
enabled: false
97-
audit.yml: |
98-
---
99-
_meta:
100-
type: audit
101-
config_version: 2
102-
103-
config:
104-
enabled: false
105-
config.yml: |
106-
---
107-
_meta:
108-
type: config
109-
config_version: 2
110-
111-
config:
112-
dynamic:
113-
authc:
114-
basic_internal_auth_domain:
115-
description: Authenticate via HTTP Basic against internal users database
116-
http_enabled: true
117-
transport_enabled: true
118-
order: 1
119-
http_authenticator:
120-
type: basic
121-
challenge: true
122-
authentication_backend:
123-
type: intern
124-
authz: {}
125-
internal_users.yml: |
126-
---
127-
# The hash value is a bcrypt hash and can be generated with plugin/tools/hash.sh
128-
129-
_meta:
130-
type: internalusers
131-
config_version: 2
132-
133-
admin:
134-
hash: $2y$10$xRtHZFJ9QhG9GcYhRpAGpufCZYsk//nxsuel5URh0GWEBgmiI4Q/e
135-
reserved: true
136-
backend_roles:
137-
- admin
138-
description: OpenSearch admin user
139-
140-
kibanaserver:
141-
hash: $2y$10$vPgQ/6ilKDM5utawBqxoR.7euhVQ0qeGl8mPTeKhmFT475WUDrfQS
142-
reserved: true
143-
description: OpenSearch Dashboards user
144-
nodes_dn.yml: |
145-
---
146-
_meta:
147-
type: nodesdn
148-
config_version: 2
149-
roles.yml: |
150-
---
151-
_meta:
152-
type: roles
153-
config_version: 2
154-
roles_mapping.yml: |
155-
---
156-
_meta:
157-
type: rolesmapping
158-
config_version: 2
159-
160-
all_access:
161-
reserved: false
162-
backend_roles:
163-
- admin
164-
165-
kibana_server:
166-
reserved: true
167-
users:
168-
- kibanaserver
169-
tenants.yml: |
170-
---
171-
_meta:
172-
type: tenants
173-
config_version: 2

0 commit comments

Comments
 (0)