-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TODO: - add tutor create_elasticsearch_user command - add tls - mount secrets - tune resources
- Loading branch information
Showing
7 changed files
with
104 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
{{- $ca := genCA "opensearchca" 1825 }} | ||
{{- $cert := genSignedCert "opensearch-master.{{ Release.Namespace }}.local" nil (list "opensearch-master.{{ Release.Namespace }}.local") 1825 $ca }} | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: opensearch-certificates | ||
type: Opaque | ||
data: | ||
"ca.crt": {{ $ca.Cert | b64enc | toYaml | indent 4}} | ||
"tls.key": {{ $cert.Key | b64enc | toYaml | indent 4}} | ||
"tls.crt": {{ print $cert.Cert $ca.Cert | b64enc | toYaml | indent 4}} | ||
--- | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: opensearch-credentials | ||
type: Opaque | ||
data: | ||
"password": {{ randAlphaNum 32 | b64enc | quote }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,3 +8,6 @@ cert-manager: | |
|
||
elasticsearch: | ||
enabled: false | ||
|
||
opensearch: | ||
enabled: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,25 @@ | ||
# Disable HTTPS cert provisioning for testing with minikube | ||
cert-manager: | ||
enabled: false | ||
|
||
elasticsearch: | ||
enabled: false | ||
|
||
# TODO: move this to a separate PR | ||
# Permit co-located instances for solitary minikube virtual machines. | ||
antiAffinity: "soft" | ||
|
||
volumeClaimTemplate: | ||
resources: | ||
requests: | ||
storage: 10Gi | ||
|
||
opensearch: | ||
enabled: true | ||
|
||
# Permit co-located instances for solitary minikube virtual machines. | ||
antiAffinity: "soft" | ||
|
||
persistence: | ||
enabled: true | ||
size: 10Gi |