Skip to content

Commit

Permalink
feat: v0.3.6 -> added tenants.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
stephane-segning committed Feb 17, 2025
1 parent 868e983 commit aa8ae67
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/wazuh/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.3.5
version: 0.3.6

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
5 changes: 5 additions & 0 deletions charts/wazuh/templates/indexer/keycloak.secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,10 @@ stringData:
{{ include "common.tplvalues.render" (dict "value" . "context" $) | nindent 4 }}
{{- end }}

{{ with .tenants -}}
"custom_tenants.yml": |
{{ include "common.tplvalues.render" (dict "value" . "context" $) | nindent 4 }}
{{- end }}

{{- end -}}
{{ end }}
7 changes: 7 additions & 0 deletions charts/wazuh/templates/indexer/sts.indexer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,13 @@ spec:
subPath: custom_roles.yml
readOnly: true
{{- end }}

{{ if .tenants }}
- name: wazuh-keycloak-config
mountPath: /etc/wazuh-indexer/opensearch-security/custom_tenants.yml
subPath: custom_tenants.yml
readOnly: true
{{- end }}

{{- end -}}
{{- end }}
Expand Down
3 changes: 3 additions & 0 deletions charts/wazuh/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,9 @@ indexer:
##
##
roles: ~
##
##
tenants: ~

##
##
Expand Down

0 comments on commit aa8ae67

Please sign in to comment.