skip to Main Content

Docker Compose: depends_on with condition -> invalid type, should be an array

I have the following compose file: version: "3" services: zookeeper: image: docker-dev.art.intern/wurstmeister/zookeeper:latest ports: - 2181:2181 kafka: image: docker-dev.art.intern/wurstmeister/kafka:latest ports: - 9092:9092 environment: - KAFKA_LISTENERS=PLAINTEXT://:9092 - KAFKA_ADVERTISED_LISTENERS=PLAINTEXT://kafka:9092 - KAFKA_ADVERTISED_HOST_NAME=kafka - KAFKA_ADVERTISED_PORT=9092 - KAFKA_ZOOKEEPER_CONNECT=zookeeper:2181 depends_on: - zookeeper app: build: context: ./ dockerfile:…

VIEW QUESTION

Helm convert data for nginx template

Im using the following file by helm apiVersion: v1 kind: ConfigMap metadata: name: nginx-cfg data: default.conf: |- {{ .Files.Get "config/nginx.conf" | nindent 4 }} and I got the following error: Error: YAML parse error on ops/templates/config/nginx.conf: error converting YAML to…

VIEW QUESTION
Back To Top
Search