argocd applications and registry
This commit is contained in:
parent
1e4785c891
commit
a1661fe6b7
20
infrastructure/02-argocd/applications/projects-website.yaml
Normal file
20
infrastructure/02-argocd/applications/projects-website.yaml
Normal file
@ -0,0 +1,20 @@
|
||||
API Version: argoproj.io/v1alpha1
|
||||
Name: website
|
||||
Namespace: argocd
|
||||
Annotations:
|
||||
argocd-image-updater.argoproj.io/image-list: website=illiumst/website
|
||||
argocd-image-updater.argoproj.io/website.update-strategy: latest
|
||||
|
||||
Kind: Application
|
||||
Spec:
|
||||
Destination:
|
||||
Name: in-cluster
|
||||
Namespace: website
|
||||
Project: default
|
||||
Source:
|
||||
Path: projects/website
|
||||
Repo URL: https://github.com/illiumst/kubedeploy.git
|
||||
Target Revision: HEAD
|
||||
Sync Policy:
|
||||
Sync Options:
|
||||
CreateNamespace=true
|
@ -0,0 +1,11 @@
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: argo-cd-ghcr-secret
|
||||
namespace: argocd
|
||||
annotations:
|
||||
sealedsecrets.bitnami.com/namespace-wide: true
|
||||
type: Opaque
|
||||
stringData:
|
||||
username: <----->
|
||||
password: <----->
|
14
infrastructure/02-argocd/base/argo-cd-image-updater-cm.yaml
Normal file
14
infrastructure/02-argocd/base/argo-cd-image-updater-cm.yaml
Normal file
@ -0,0 +1,14 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/name: argocd-image-updater-config
|
||||
app.kubernetes.io/part-of: argocd-image-updater
|
||||
name: argocd-image-updater-config
|
||||
data:
|
||||
registries.conf: |
|
||||
registries:
|
||||
- name: GHCR.io
|
||||
prefix: ghcr.io
|
||||
api_url: hhttps://ghcr.io/v2
|
||||
credentials: pullsecret:argocd/argo-cd-ghcr-secret
|
@ -5,12 +5,16 @@ namespace: argocd
|
||||
|
||||
# - base/argo-cd-ui-ingress.yaml
|
||||
resources:
|
||||
# Applications
|
||||
- applications/projcts-website.yaml
|
||||
# Base functionality
|
||||
- base/argo-cd-k-with-helm.yaml
|
||||
- base/argo-cd-image-updater-cm.yaml
|
||||
- patches/argocd-cmd-params-cm.yaml
|
||||
- https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
|
||||
- base/argo-cd-namespace.yaml
|
||||
|
||||
patches:
|
||||
- path: patches/argocd-cmd-params-cm-patch.yaml
|
||||
- path: patches/argocd-server-service.yaml
|
||||
- path: patches/argocd-cm-patch.yaml
|
||||
- path: patches/nodeselector.yaml
|
||||
|
Loading…
x
Reference in New Issue
Block a user