mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2024-12-14 11:57:51 +00:00
97590e200a
Move prepare-release.sh and kustomize.sh from scripts/ to hack/.
19 lines
263 B
Bash
Executable file
19 lines
263 B
Bash
Executable file
#!/bin/bash -e
|
|
|
|
echo "namespace: $1"
|
|
echo "image: $2:$3"
|
|
|
|
cat > kustomization.yaml << EOF
|
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
kind: Kustomization
|
|
|
|
namespace: $1
|
|
|
|
images:
|
|
- name: '*'
|
|
newName: $2
|
|
newTag: $3
|
|
|
|
resources:
|
|
- deployment/overlays/default
|
|
EOF
|