apiVersion: apps/v1
kind: StatefulSet
metadata:
  name: nextgen-global-service
spec:
  template:
    spec:
      containers:
        - name: nextgen-global-service
          volumeMounts:
            - name: nextgen-global-service-config
              mountPath: /etc/nextgen-global-service/config.yaml
              subPath: config.yaml
              readOnly: true
      volumes:
        - name: nextgen-global-service-config
          configMap:
            name: nextgen-global-service-config
