feat: deployment
parent
ced1d9e1ca
commit
212c4a3ce7
@ -0,0 +1,2 @@
|
|||||||
|
bases:
|
||||||
|
- ../nsodev
|
||||||
@ -0,0 +1,4 @@
|
|||||||
|
resources:
|
||||||
|
- smardigo-mobene.yml
|
||||||
|
|
||||||
|
namePrefix: "nsodev-"
|
||||||
@ -0,0 +1,41 @@
|
|||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: smardigo-mobene
|
||||||
|
# You'll usually want to add your resources to the argocd namespace.
|
||||||
|
namespace: argo-cd
|
||||||
|
# Add this finalizer ONLY if you want these to cascade delete.
|
||||||
|
finalizers:
|
||||||
|
- resources-finalizer.argocd.argoproj.io
|
||||||
|
spec:
|
||||||
|
# The project the application belongs to.
|
||||||
|
project: default
|
||||||
|
# Source of the application manifests
|
||||||
|
source:
|
||||||
|
# Can point to either a Helm chart repo or a git repo.
|
||||||
|
repoURL: https://prodnso-gitea-01.smardigo.digital/argocd/smardigo-mobene.git
|
||||||
|
# This has no meaning for Helm charts pulled directly from a Helm repo instead of git.
|
||||||
|
path: smardigo
|
||||||
|
# For Helm, this refers to the chart version.
|
||||||
|
targetRevision: main
|
||||||
|
|
||||||
|
# kustomize specific config
|
||||||
|
kustomize:
|
||||||
|
|
||||||
|
# helm specific config
|
||||||
|
helm:
|
||||||
|
valueFiles:
|
||||||
|
- config/nsodev/values.yaml
|
||||||
|
|
||||||
|
# Destination cluster and namespace to deploy the application
|
||||||
|
destination:
|
||||||
|
server: https://kubernetes.default.svc
|
||||||
|
namespace: cus-mobene-nsodev
|
||||||
|
|
||||||
|
# Sync policy
|
||||||
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: true
|
||||||
|
selfHeal: true
|
||||||
|
syncOptions:
|
||||||
|
- CreateNamespace=true
|
||||||
Loading…
Reference in New Issue