Last active
June 21, 2021 02:07
-
-
Save purwandi/2614cc60debad130d6b57ecdd4eb68bf to your computer and use it in GitHub Desktop.
Argo Continuos Deployment (ARGOCD)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: argoproj.io/v1alpha1 | |
kind: Application | |
metadata: | |
name: argocd-git | |
namespace: argocd | |
finalizers: | |
- resources-finalizer.argocd.argoproj.io | |
spec: | |
project: default | |
source: | |
path: manifest | |
repoURL: https://github.com/optimus/argocd/argocd-git.git | |
targetRevision: main #branch or tag | |
destination: | |
server: https://kubernetes.default.svc | |
namespace: optimus | |
syncPolicy: | |
automated: | |
prune: true | |
selfHeal: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
name: argocd-cm | |
namespace: argocd | |
labels: | |
app.kubernetes.io/name: argocd-cm | |
app.kubernetes.io/part-of: argocd | |
data: | |
repositories: | | |
- url: https://github.com/optimus/argocd/argocd-git.git | |
type: git | |
usernameSecret: | |
key: username | |
name: repo-argocd-git | |
passwordSecret: | |
key: password | |
name: repo-argocd-git | |
- url: https://gitlab.com/optimus/argocd/argocd-helm.git | |
type: git | |
usernameSecret: | |
key: username | |
name: repo-1503435582 | |
passwordSecret: | |
key: password | |
name: repo-1503435582 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: Secret | |
metadata: | |
name: repo-argocd-git | |
namespace: argocd | |
type: Opaque | |
data: | |
username: # base64(username) | |
password: # base64(password) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment