mirror of
https://github.com/truenas/charts.git
synced 2026-04-05 03:39:20 +08:00
Publish new changes in catalog
This commit is contained in:
@@ -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'
|
||||
@@ -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 -}}
|
||||
@@ -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" . }}
|
||||
@@ -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 }}
|
||||
@@ -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 }}
|
||||
Reference in New Issue
Block a user