this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat: install ArgoCD

+75 -1
-1
cluster/Makefile
··· 4 4 5 5 apply: 6 6 ansible-playbook \ 7 - --user ubuntu \ 8 7 --inventory "${IP_ADDRESS}", \ 9 8 main.yml
+3
cluster/group_vars/all.yml
··· 1 + ansible_user: ubuntu 2 + ansible_ssh_private_key_file: ../infra/private.pem 3 + kubeconfig: kubeconfig.yaml
+3
cluster/main.yml
··· 4 4 - role: firewall 5 5 - role: data 6 6 - role: k3s 7 + - hosts: localhost 8 + roles: 9 + - role: bootstrap
+5
cluster/roles/bootstrap/defaults/main.yml
··· 1 + namespace: argocd 2 + argocd_version: 4.9.4 3 + argocd_host: argocd.horus.khuedoan.com 4 + gitops_repo: https://github.com/khuedoan/horus 5 + gitops_revision: master
+61
cluster/roles/bootstrap/tasks/main.yml
··· 1 + - name: Deploy ArgoCD 2 + kubernetes.core.helm: 3 + name: argocd 4 + chart_repo_url: https://argoproj.github.io/argo-helm 5 + chart_ref: argo-cd 6 + chart_version: "{{ argocd_version }}" 7 + release_namespace: "{{ namespace }}" 8 + create_namespace: true 9 + wait: True 10 + kubeconfig: "{{ kubeconfig }}" 11 + values: 12 + server: 13 + extraArgs: 14 + - --insecure 15 + ingress: 16 + enabled: true 17 + annotations: 18 + cert-manager.io/cluster-issuer: letsencrypt-prod 19 + hosts: 20 + - "{{ argocd_host }}" 21 + tls: 22 + - secretName: argocd-tls-certificate 23 + hosts: 24 + - "{{ argocd_host }}" 25 + dex: 26 + enabled: false 27 + 28 + - name: Deploy ApplicationSets 29 + kubernetes.core.k8s: 30 + kubeconfig: "{{ kubeconfig }}" 31 + definition: 32 + apiVersion: argoproj.io/v1alpha1 33 + kind: ApplicationSet 34 + metadata: 35 + name: apps 36 + namespace: "{{ namespace }}" 37 + spec: 38 + generators: 39 + - git: 40 + repoURL: "{{ gitops_repo }}" 41 + revision: "{{ gitops_revision }}" 42 + directories: 43 + - path: apps/* 44 + template: 45 + metadata: 46 + name: "{{ '{{path.basename}}' }}" 47 + spec: 48 + destination: 49 + name: in-cluster 50 + namespace: "{{ '{{path.basename}}' }}" 51 + project: default # TODO 52 + source: 53 + repoURL: "{{ gitops_repo }}" 54 + path: "{{ '{{path}}' }}" 55 + targetRevision: "{{ gitops_revision }}" 56 + syncPolicy: 57 + automated: 58 + prune: true 59 + selfHeal: true 60 + syncOptions: 61 + - CreateNamespace=true
+3
tools/Dockerfile
··· 13 13 RUN apk add --no-cache --repository "http://dl-cdn.alpinelinux.org/alpine/edge/testing" \ 14 14 helm \ 15 15 kubectl 16 + 17 + RUN pip install \ 18 + kubernetes