Publish new changes in catalog

This commit is contained in:
sonicaj
2024-03-01 12:45:47 +00:00
parent ac17868824
commit 12eeeeec7c
19 changed files with 5 additions and 5 deletions

View File

@@ -3,7 +3,7 @@ description: Diskover is used to monitor size/volumes of distributed dataset.
annotations:
title: Diskover Data
type: application
version: 1.0.14
version: 1.0.15
apiVersion: v2
appVersion: "2.0.1"
kubeVersion: '>=1.16.0-0'

View File

@@ -13,7 +13,7 @@
{{- define "elasticsearch.IP" -}}
{{ $envList := (default list) }}
{{ $envList = mustAppend $envList (dict "name" "ES_HOST" "value" (printf "%s" (include "common.names.fullname" .))) }}
{{ $envList = mustAppend $envList (dict "name" "ES_HOST" "value" (printf "%s-es" (include "common.names.fullname" .))) }}
{{ $envList = mustAppend $envList (dict "name" "ES_PORT" "value" "9200") }}
{{ include "common.containers.environmentVariables" (dict "environmentVariables" $envList) }}
{{- end -}}

View File

@@ -5,7 +5,7 @@
apiVersion: {{ template "common.capabilities.deployment.apiVersion" . }}
kind: Deployment
metadata:
name: {{ template "common.names.fullname" . }}
name: {{ template "common.names.fullname" . }}-diskover
labels:
app: {{ template "common.names.name" . }}
chart: {{ template "common.names.chart" . }}

View File

@@ -1,5 +1,5 @@
{{ $values := (. | mustDeepCopy) }}
{{ $_ := set $values "common" (dict "nameSuffix" "elasticsearch") }}
{{ $_ := set $values "common" (dict "nameSuffix" "elasticsearch-es") }}
{{ include "common.deployment.common_config" $values | nindent 0 }}
spec: {{ include "common.deployment.common_spec" $values | nindent 2 }}
template: {{ include "common.deployment.pod.metadata" $values | nindent 4 }}

View File

@@ -1,6 +1,6 @@
{{ $ports := list }}
{{ $ports = mustAppend $ports (dict "name" "es-port" "port" 9200 "targetPort" 9200) }}
{{ $values := (. | mustDeepCopy) }}
{{ $_ := set $values "common" (dict "nameSuffix" "elasticsearch") }}
{{ $_ := set $values "common" (dict "nameSuffix" "elasticsearch-es") }}
{{ $_1 := set $values "commonService" (dict "type" "ClusterIP" "ports" $ports ) }}
{{ include "common.classes.service" $values }}