mirror of
https://github.com/kyverno/kyverno.git
synced 2024-12-14 11:57:48 +00:00
28619ce3db
* refactor: argocd lab Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> * refactor: split argocd lab into multiple steps Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> * fix tempo Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
32 lines
607 B
Bash
Executable file
32 lines
607 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
# CREATE METRICS-SERVER APP
|
|
|
|
kubectl apply -f - <<EOF
|
|
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
name: metrics-server
|
|
namespace: argocd
|
|
spec:
|
|
destination:
|
|
namespace: kube-system
|
|
server: https://kubernetes.default.svc
|
|
project: default
|
|
source:
|
|
chart: metrics-server
|
|
repoURL: https://charts.bitnami.com/bitnami
|
|
targetRevision: 6.2.2
|
|
helm:
|
|
values: |
|
|
extraArgs:
|
|
- --kubelet-insecure-tls=true
|
|
apiService:
|
|
create: true
|
|
syncPolicy:
|
|
automated:
|
|
prune: true
|
|
selfHeal: true
|
|
EOF
|