Browse Source

Merge pull request #7463 from sjenning/fix-dockergc-cmd

dockergc: use oc rather than openshift for ex subcommand
OpenShift Merge Robot 7 years ago
parent
commit
33e849b9b0
1 changed files with 2 additions and 0 deletions
  1. 2 0
      roles/openshift_docker_gc/templates/dockergc-ds.yaml.j2

+ 2 - 0
roles/openshift_docker_gc/templates/dockergc-ds.yaml.j2

@@ -29,6 +29,8 @@ items:
         serviceAccountName: dockergc
         containers:
         - image: {{ openshift_docker_gc_image }}:{{ openshift_docker_gc_version }}
+          command:
+          - "/usr/bin/oc"
           args:
           - "ex"
           - "dockergc"