mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2024-12-14 11:57:51 +00:00
20 lines
263 B
Bash
20 lines
263 B
Bash
|
#!/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
|