1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2024-12-15 17:50:49 +00:00
node-feature-discovery/scripts/kustomize.sh
Markus Lehtonen 63c1256d08 Drop deployment templates
Resort to kustomize, instead. Update docs and scripts, accordingly.

Bump cert-manager version in the deployment instructions to v1.5.1.
2021-08-18 15:10:25 +03:00

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