]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
script/kubejacker: Add podman push example for plain HTTP registry
authorVarsha Rao <varao@redhat.com>
Fri, 11 Dec 2020 13:02:34 +0000 (18:32 +0530)
committerVarsha Rao <varao@redhat.com>
Fri, 11 Dec 2020 13:02:34 +0000 (18:32 +0530)
If the image is pushed to a plain HTTP registry then tls-verify needs to be set
to false. This patch adds an example for it.

Signed-off-by: Varsha Rao <varao@redhat.com>
src/script/kubejacker/kubejacker.sh

index 78670b83ea59b7432098f12f58e06f35979a42f7..586871b0e81a569e06f6b3ec6bdc02e7a1b96942 100755 (executable)
@@ -75,6 +75,8 @@ popd
 #docker tag $REPO/$IMAGE:$TAG $REPO/$IMAGE:latest
 docker push $REPO/ceph/ceph:latest
 #docker push $REPO/$IMAGE:$TAG
+# With a plain HTTP registry
+#podman push $REPO/ceph/ceph:latest --tls-verify=false
 
 # Finally, bounce the containers to pick up the new image
 kubectl -n $NAMESPACE delete pod -l app=rook-ceph-mds