-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for ES 8.11.0 & OS 2.11.0
Signed-off-by: raihankhan <[email protected]>
- Loading branch information
1 parent
101e8c4
commit 77324d6
Showing
7 changed files
with
152 additions
and
0 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
33 changes: 33 additions & 0 deletions
33
catalog/kubedb/raw/elasticsearch/elasticsearch-2.11.0-opensearch.yaml
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,33 @@ | ||
apiVersion: catalog.kubedb.com/v1alpha1 | ||
kind: ElasticsearchVersion | ||
metadata: | ||
name: opensearch-2.11.0 | ||
spec: | ||
authPlugin: OpenSearch | ||
dashboard: | ||
image: opensearchproject/opensearch-dashboards:2.11.0 | ||
dashboardInitContainer: | ||
yqImage: ghcr.io/kubedb/elasticsearch-dashboard-init:2.11.0-opensearch-v2023.11.27 | ||
db: | ||
image: opensearchproject/opensearch:2.11.0 | ||
distribution: OpenSearch | ||
exporter: | ||
image: prometheuscommunity/elasticsearch-exporter:v1.3.0 | ||
initContainer: | ||
image: tianon/toybox:0.8.4 | ||
yqImage: ghcr.io/kubedb/elasticsearch-init:2.11.0-opensearch-v2023.11.27 | ||
podSecurityPolicies: | ||
databasePolicyName: elasticsearch-db | ||
stash: | ||
addon: | ||
backupTask: | ||
name: elasticsearch-backup-7.14.0 | ||
params: | ||
- name: args | ||
value: --match=^(?![.])(?!security-auditlog)(?!kubedb-system).+ | ||
restoreTask: | ||
name: elasticsearch-restore-7.14.0 | ||
params: | ||
- name: args | ||
value: --match=^(?![.])(?!security-auditlog)(?!kubedb-system).+ | ||
version: 2.11.0 |
36 changes: 36 additions & 0 deletions
36
catalog/kubedb/raw/elasticsearch/elasticsearch-8.11.0-elasticstack.yaml
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,36 @@ | ||
apiVersion: catalog.kubedb.com/v1alpha1 | ||
kind: ElasticsearchVersion | ||
metadata: | ||
name: xpack-8.11.0 | ||
spec: | ||
authPlugin: X-Pack | ||
dashboard: | ||
image: kibana:8.11.0 | ||
dashboardInitContainer: | ||
yqImage: ghcr.io/kubedb/elasticsearch-dashboard-init:8.11.0-xpack-v2023.11.27 | ||
db: | ||
image: elasticsearch:8.11.0 | ||
distribution: ElasticStack | ||
exporter: | ||
image: prometheuscommunity/elasticsearch-exporter:v1.3.0 | ||
initContainer: | ||
image: tianon/toybox:0.8.4 | ||
yqImage: ghcr.io/kubedb/elasticsearch-init:8.11.0-xpack-v2023.11.27 | ||
podSecurityPolicies: | ||
databasePolicyName: elasticsearch-db | ||
securityContext: | ||
runAsAnyNonRoot: true | ||
runAsUser: 1000 | ||
stash: | ||
addon: | ||
backupTask: | ||
name: elasticsearch-backup-8.2.0 | ||
params: | ||
- name: args | ||
value: --match=^(?![.])(?!apm-agent-configuration)(?!kubedb-system).+ | ||
restoreTask: | ||
name: elasticsearch-restore-8.2.0 | ||
params: | ||
- name: args | ||
value: --match=^(?![.])(?!apm-agent-configuration)(?!kubedb-system).+ | ||
version: 8.11.0 |
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
37 changes: 37 additions & 0 deletions
37
charts/kubedb-catalog/templates/elasticsearch/elasticsearch-2.11.0-opensearch.yaml
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,37 @@ | ||
{{ if .Values.catalog.elasticsearch }} | ||
apiVersion: catalog.kubedb.com/v1alpha1 | ||
kind: ElasticsearchVersion | ||
metadata: | ||
name: 'opensearch-2.11.0' | ||
labels: | ||
{{- include "kubedb-catalog.labels" . | nindent 4 }} | ||
spec: | ||
authPlugin: OpenSearch | ||
dashboard: | ||
image: '{{ include "image.dockerHub" (merge (dict "_repo" "opensearchproject/opensearch-dashboards") $) }}:2.11.0' | ||
dashboardInitContainer: | ||
yqImage: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/elasticsearch-dashboard-init") $) }}:2.11.0-opensearch-v2023.11.27' | ||
db: | ||
image: '{{ include "image.dockerHub" (merge (dict "_repo" "opensearchproject/opensearch") $) }}:2.11.0' | ||
distribution: OpenSearch | ||
exporter: | ||
image: '{{ include "image.dockerHub" (merge (dict "_repo" "prometheuscommunity/elasticsearch-exporter") $) }}:v1.3.0' | ||
initContainer: | ||
image: '{{ include "image.dockerHub" (merge (dict "_repo" "tianon/toybox") $) }}:0.8.4' | ||
yqImage: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/elasticsearch-init") $) }}:2.11.0-opensearch-v2023.11.27' | ||
podSecurityPolicies: | ||
databasePolicyName: elasticsearch-db | ||
stash: | ||
addon: | ||
backupTask: | ||
name: elasticsearch-backup-7.14.0 | ||
params: | ||
- name: args | ||
value: --match=^(?![.])(?!security-auditlog)(?!kubedb-system).+ | ||
restoreTask: | ||
name: elasticsearch-restore-7.14.0 | ||
params: | ||
- name: args | ||
value: --match=^(?![.])(?!security-auditlog)(?!kubedb-system).+ | ||
version: 2.11.0 | ||
{{ end }} |
40 changes: 40 additions & 0 deletions
40
charts/kubedb-catalog/templates/elasticsearch/elasticsearch-8.11.0-elasticstack.yaml
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,40 @@ | ||
{{ if .Values.catalog.elasticsearch }} | ||
apiVersion: catalog.kubedb.com/v1alpha1 | ||
kind: ElasticsearchVersion | ||
metadata: | ||
name: 'xpack-8.11.0' | ||
labels: | ||
{{- include "kubedb-catalog.labels" . | nindent 4 }} | ||
spec: | ||
authPlugin: X-Pack | ||
dashboard: | ||
image: '{{ include "image.dockerLibrary" (merge (dict "_repo" "kibana") $) }}:8.11.0' | ||
dashboardInitContainer: | ||
yqImage: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/elasticsearch-dashboard-init") $) }}:8.11.0-xpack-v2023.11.27' | ||
db: | ||
image: '{{ include "image.dockerLibrary" (merge (dict "_repo" "elasticsearch") $) }}:8.11.0' | ||
distribution: ElasticStack | ||
exporter: | ||
image: '{{ include "image.dockerHub" (merge (dict "_repo" "prometheuscommunity/elasticsearch-exporter") $) }}:v1.3.0' | ||
initContainer: | ||
image: '{{ include "image.dockerHub" (merge (dict "_repo" "tianon/toybox") $) }}:0.8.4' | ||
yqImage: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/elasticsearch-init") $) }}:8.11.0-xpack-v2023.11.27' | ||
podSecurityPolicies: | ||
databasePolicyName: elasticsearch-db | ||
securityContext: | ||
runAsAnyNonRoot: true | ||
runAsUser: 1000 | ||
stash: | ||
addon: | ||
backupTask: | ||
name: elasticsearch-backup-8.2.0 | ||
params: | ||
- name: args | ||
value: --match=^(?![.])(?!apm-agent-configuration)(?!kubedb-system).+ | ||
restoreTask: | ||
name: elasticsearch-restore-8.2.0 | ||
params: | ||
- name: args | ||
value: --match=^(?![.])(?!apm-agent-configuration)(?!kubedb-system).+ | ||
version: 8.11.0 | ||
{{ end }} |