add
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
1. emqx
|
||||
{{- if .Values.emqx.enabled -}}
|
||||
{{ .Values.emqx.appName}} is created,
|
||||
echo "${emqx_svc}"
|
||||
{{- else -}}
|
||||
{{ .Values.emqx.appName}} is skipped
|
||||
{{- end }}
|
||||
|
||||
2. mongo
|
||||
{{- if .Values.mongo.enabled -}}
|
||||
{{ .Values.mongo.appName}} is created
|
||||
export mongo_svc=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ .Values.mongo.appName }} )
|
||||
echo "${mongo_svc}"
|
||||
{{- else -}}
|
||||
{{ .Values.mongo.appName}} is skipped
|
||||
{{- end }}
|
||||
|
||||
3. nacos
|
||||
{{- if .Values.nacos.enabled -}}
|
||||
{{ .Values.nacos.appName}} is created,
|
||||
export nacos_svc=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ .Values.nacos.appName}} )
|
||||
echo "${nacos_svc}"
|
||||
{{- else -}}
|
||||
{{ .Values.nacos.appName}} is skipped
|
||||
{{- end }}
|
||||
|
||||
4. rabbitmq
|
||||
{{- if .Values.rabbitmq.enabled -}}
|
||||
{{ .Values.rabbitmq.appName}} is created,
|
||||
export rabbitmq_svc=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ .Values.rabbitmq.appName}} )
|
||||
echo "${rabbitmq_svc}"
|
||||
{{- else -}}
|
||||
{{ .Values.rabbitmq.appName }} is skipped
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user