diff --git a/k8s/coturn/templates/deployment.yml b/k8s/coturn/templates/deployment.yml index ee4da83..15276d2 100644 --- a/k8s/coturn/templates/deployment.yml +++ b/k8s/coturn/templates/deployment.yml @@ -16,19 +16,19 @@ spec: annotations: prometheus.io/scrape: "true" prometheus.io/path: "/metrics" - prometheus.io/port: "9643" + prometheus.io/port: "9641" spec: hostNetwork: true imagePullSecrets: - - name: gcr-json-key + {{- toYaml .Values.imagePullSecrets | nindent 8 }} volumes: - name: coturn-config-volume configMap: name: coturn-config containers: - name: coturn - image: gcr.io/tough-craft-276813/coturn:latest - imagePullPolicy: Always + image: {{ .Values.image.repository }}:{{ .Values.image.tag }} + imagePullPolicy: {{ .Values.image.pullPolicy }} command: ["turnserver", "-c", "/etc/coturn/turnserver.conf"] env: - name: MY_POD_IP @@ -42,14 +42,3 @@ spec: - name: coturn-config-volume mountPath: /etc/coturn/turnserver.conf subPath: turnserver.conf - - name: exporter - image: "{{ .Values.exporter.image.repository }}:{{ .Values.exporter.image.tag }}" - imagePullPolicy: {{ .Values.exporter.image.pullPolicy }} - env: - - name: REDIS_URL - value: "redis://coturn-redis-master:6379" - - name: LOG_LEVEL - value: "info" - ports: - - containerPort: 9643 - name: metrics diff --git a/k8s/coturn/values.yaml b/k8s/coturn/values.yaml index f324959..3f7741b 100644 --- a/k8s/coturn/values.yaml +++ b/k8s/coturn/values.yaml @@ -3,13 +3,12 @@ # Declare variables to be passed into your templates. image: - repository: gcr.io/tough-craft-276813/coturn + repository: coturn/coturn pullPolicy: Always # Overrides the image tag whose default is the chart appVersion. - tag: "latest" + tag: "4.7.0" -imagePullSecrets: - - name: gcr-json-key +imagePullSecrets: [] redis: enabled: true