未验证 提交 e7073ebf 编写于 作者: G glongzh 提交者: GitHub

Add Values for init container in case of using private regestry;fix a...

Add Values for init container in case of using private regestry;fix a whitespace/newline trimming bug (#53)

* Add Values for init container in case of using private regestry; Fix ingress indent issue

* fix a whitespace/newline trimming bug
上级 d383403a
......@@ -65,7 +65,7 @@ Create the name of the service account to use for the oap cluster
{{- define "skywalking.containers.wait-for-es" -}}
- name: wait-for-elasticsearch
image: busybox:1.30
image: {{ .Values.initContainer.image }}:{{ .Values.initContainer.tag }}
imagePullPolicy: IfNotPresent
{{- if .Values.elasticsearch.enabled }}
command: ['sh', '-c', 'for i in $(seq 1 60); do nc -z -w3 {{ .Values.elasticsearch.clusterName }}-{{ .Values.elasticsearch.nodeGroup }} {{ .Values.elasticsearch.httpPort }} && exit 0 || sleep 5; done; exit 1']
......
......@@ -14,8 +14,8 @@
# limitations under the License.
{{- if .Values.ui.ingress.enabled }}
{{- $serviceName := include "skywalking.ui.fullname" . -}}
{{- $servicePort := .Values.ui.service.externalPort -}}
{{- $serviceName := include "skywalking.ui.fullname" . }}
{{- $servicePort := .Values.ui.service.externalPort }}
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
......
......@@ -19,7 +19,9 @@
serviceAccounts:
oap:
initContainer:
image: busybox
tag: '1.30'
oap:
name: oap
# When 'dynamicConfigEnabled' set to true, enable oap dynamic configuration through k8s configmap,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册