TAP Run with ArgoCD¶
Setup Argo CD¶
helm upgrade --install argocd argo/argo-cd \
--namespace argocd \
--wait \
--version 5.46.7 \
--values argocd-values.yaml
- release 2.8.7
- https://github.com/argoproj/argo-cd/releases
- use portfward instead of direct login
argocd login --insecure --port-forward --port-forward-namespace=argocd --plaintext --kube-context tap-01
SERVER NAME VERSION STATUS MESSAGE PROJECT
https://kubernetes.default.svc in-cluster Unknown Cluster has no applications and is not being monitored.
Warning
WARNING: This will create a service account
argocd-manager
on the cluster referenced by contexttap-02
with full cluster level privileges. Do you want to continue [y/N]?
SERVER NAME VERSION STATUS MESSAGE PROJECT
https://10.220.10.38:6443 tap-02 1.26 Successful
https://kubernetes.default.svc in-cluster Unknown Cluster has no applications and is not being monitored.
Application¶
Message: failed to create typed patch object (d1/hello; serving.knative.dev/v1, Kind=Service): .spec.template.spec.containers[0].startupProbe: field not declared in schema
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: tap-apps-d1
namespace: argocd
labels:
app.kubernetes.io/part-of: tap-hello-world
spec:
destination:
namespace: d1
server: 'https://10.220.10.38:6443'
source:
path: config/d1/
repoURL: 'http://gitlab.tap.h2o-2-19271.h2o.vmware.com/root/tap-apps.git'
targetRevision: main
directory:
recurse: true
sources: []
project: default
syncPolicy:
syncOptions:
- CreateNamespace=false
- Validate=false
Last update: 2023-12-08 13:20:39