<p>I have got a following yml file after doing
kompose convert
But, I want to add imagePullSecrets in the conversion output. Instead of everytime making a local change, I would like to put something in docker-compose.yml so that it gets converted automatically in kubernetes yml.</p>

<p>Similar usecase is needed for number of replicas as well.</p>

<p>How to achieve this?</p>

<pre><code>apiVersion: extensions/v1beta1
kind: Deployment
metadata:
  annotations:
    kompose.cmd: kompose convert -f monitor.yml
    kompose.deployment.spec.replicas: "2" 
  name: monitor
spec:
  replicas: 1
  template:
    spec:
      containers:
      - command:
        - python
        image: example.com/monitor

        name: monitor
        ports:
        - containerPort: 9990
        resources: {}
        stdin: true
        tty: true
        workingDir: /path/to/code
      restartPolicy: Always
status: {}
</code></pre>

<p>You can (now) use a <code>kompose.image-pull-secret</code> label
<a href="https://github.com/kubernetes/kompose/blob/master/docs/user-guide.md#labels" rel="nofollow noreferrer">https://github.com/kubernetes/kompose/blob/master/docs/user-guide.md#labels</a>
<a href="https://github.com/kubernetes/kompose/pull/1040" rel="nofollow noreferrer">https://github.com/kubernetes/kompose/pull/1040</a></p>
