feat: install argocd
a.k.a initial commit
This commit is contained in:
commit
469771fe54
6 changed files with 85 additions and 0 deletions
13
.editorconfig
Normal file
13
.editorconfig
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
root = true
|
||||
|
||||
[*]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
charset = utf-8
|
||||
trim_trailing_whitespace = true
|
||||
insert_final_newline = true
|
||||
end_of_line = lf
|
||||
max_line_length = null
|
||||
|
||||
[Makefile]
|
||||
indent_style = tab
|
||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
**/charts/*.tgz
|
||||
6
_argocd/Chart.lock
Normal file
6
_argocd/Chart.lock
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
dependencies:
|
||||
- name: argo-cd
|
||||
repository: https://argoproj.github.io/argo-helm
|
||||
version: 4.10.8
|
||||
digest: sha256:9b111631d0f374f73094835ad8e16f47871fd8e907f972dbb301b9deffe03992
|
||||
generated: "2022-08-20T14:37:05.086337+02:00"
|
||||
11
_argocd/Chart.yaml
Normal file
11
_argocd/Chart.yaml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
apiVersion: v2
|
||||
name: argocd
|
||||
description: A Helm chart for Kubernetes
|
||||
type: application
|
||||
version: 0.1.0
|
||||
appVersion: "1.0"
|
||||
|
||||
dependencies:
|
||||
- name: argo-cd
|
||||
version: 4.10.8
|
||||
repository: https://argoproj.github.io/argo-helm
|
||||
18
_argocd/app-of-apps.yaml
Normal file
18
_argocd/app-of-apps.yaml
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: app-of-apps
|
||||
namespace: argocd
|
||||
spec:
|
||||
destination:
|
||||
namespace: argocd
|
||||
server: https://kubernetes.default.svc
|
||||
project: default
|
||||
source:
|
||||
path: apps
|
||||
repoURL: https://gitlab.mareshq.com/gitops/mareshq/fox.git
|
||||
targetRevision: HEAD
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
36
_argocd/values.yaml
Normal file
36
_argocd/values.yaml
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
argo-cd:
|
||||
server:
|
||||
# configEnabled: false
|
||||
# config:
|
||||
# url: "https://argocd.fox.k8s.vxm.cz/"
|
||||
# dex.config: |
|
||||
# connectors:
|
||||
# - type: gitlab
|
||||
# id: gitlab
|
||||
# name: GitLab
|
||||
# config:
|
||||
# baseURL: https://gitlab.mareshq.com
|
||||
# clientID: e699c44be6e14f5d9385b84c022d9a7a08196f374173aaa9ad19b2d20a563050
|
||||
# clientSecret: 953b3dd97b2b1d1a71dbec2c0204774bd0f1b5c94fea988ac23e795577e8c6eb
|
||||
# # redirectURI is filled by ArgoCD
|
||||
# # redirectURI: https://argocd.ant.k8s.vxm.cz/api/dex/callback
|
||||
# groups:
|
||||
# - infrastructure/mareshq
|
||||
# # flag which will switch from using the internal GitLab id to the users handle (@mention) as the user id.
|
||||
# # It is possible for a user to change their own user name but it is very rare for them to do so
|
||||
# useLoginAsID: false
|
||||
ingress:
|
||||
enabled: false
|
||||
hosts:
|
||||
- argocd.bee.k8s.vxm.cz
|
||||
ingressClassName: nginx
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||
kubernetes.io/tls-acme: "true"
|
||||
nginx.ingress.kubernetes.io/server-snippet: |
|
||||
proxy_ssl_verify off;
|
||||
nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
|
||||
tls:
|
||||
- hosts:
|
||||
- argocd.bee.k8s.vxm.cz
|
||||
secretName: argocd-tls
|
||||
Reference in a new issue