mirror of
https://github.com/lukaszraczylo/kubernetes-images-sync-operator.git
synced 2026-06-10 23:29:11 +00:00
Initial commit for the operator
This commit is contained in:
Executable
+8
@@ -0,0 +1,8 @@
|
||||
#!/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" {} +
|
||||
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" {} +
|
||||
fi
|
||||
Reference in New Issue
Block a user