diff --git a/openshift/clamav/README.md b/openshift/clamav/README.md index ec23ac2..8403ed6 100644 --- a/openshift/clamav/README.md +++ b/openshift/clamav/README.md @@ -53,9 +53,10 @@ oc -n start-build bc/clamav-build ## Deployment Navigate to clamav-dc.yaml in your local machine and run the following command to deploy the pod to your namespace <> is for the image ex. latest, 1.0.1 +<> could be 75e61b-dev ``` -oc process -f clamav-dc.yaml -p TAG=<> | oc apply -n 75e61b-dev -f - +oc process -f clamav-dc.yaml -p TAG=<> | oc apply -n <> -f - ``` ## Versioning Deployments @@ -67,8 +68,8 @@ oc tag -n <> clamav:latest clamav:<> ``` Method 1: apply a patch to the deployment config to point to the new image in DEV, TEST or PROD. Make sure to adjust the namespace appropriately. Ex. -<> would be 75e61b-dev, -<> would be 75e61b-tools. +<> could be 75e61b-dev, +<> could be 75e61b-tools. ``` oc patch dc clamav -n <> --type=json -p '[{"op": "replace", "path": "/spec/template/spec/containers/0/image", "value": "image-registry.openshift-image-registry.svc:5000/<>/clamav:" }]'