For conventions, see this post by Kostis Kapelonis about GitOps and application release promotion.
oc apply -k envs/test -n bookinfo-test
Create an Application
like the example below to sync an environment to a namespace.
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: bookinfo-test
spec:
destination:
server: https://kubernetes.default.svc
project: default
source:
path: envs/test
repoURL: https://github.com/RHC-STP-OSSM/gitops-app-bookinfo.git
targetRevision: HEAD
syncPolicy:
automated: {}