mirror of
https://github.com/lukaszraczylo/kubernetes-images-sync-operator.git
synced 2026-07-05 03:25:39 +00:00
Move directories around
This commit is contained in:
+4
-2
@@ -1,8 +1,10 @@
|
||||
#!/bin/bash
|
||||
if [[ "$OSTYPE" == "darwin"* ]]; then
|
||||
find chart/ -type f -exec sed -i '' "s/0.0.0/$1/g" {} +
|
||||
find chart/values.yaml -type f -exec sed -i '' "s/repository: controller/$2/g" {} +
|
||||
find chart/values.yaml -type f -exec sed -i '' "s|controller|$2|g" {} +
|
||||
find chart/values.yaml -type f -exec sed -i '' "s|latest|$1|g" {} +
|
||||
else
|
||||
find chart/ -type f -exec sed -i "s/0.0.0/$1/g" {} +
|
||||
find chart/values.yaml -type f -exec sed -i "s/repository: controller/$2/g" {} +
|
||||
find chart/values.yaml -type f -exec sed "s|controller|$2|g" {} +
|
||||
find chart/values.yaml -type f -exec sed -i "s|latest|$1|g" {} +
|
||||
fi
|
||||
Reference in New Issue
Block a user