gvych
3/16/2019 - 7:00 PM

Use of configmap as single file in Kubernetes Deployment

    spec:
      containers:
      - image:  ...
        volumeMounts:
        - mountPath: /app/config.yml
          name: config-volume
          subPath: config.yml
      volumes:
      - configMap:
          defaultMode: 420
          name: prod-config
        name: config-volume