Compare commits

...

12 commits

10 changed files with 43 additions and 18 deletions

2
charts/test/Chart.yaml Normal file
View file

@ -0,0 +1,2 @@
name: test
version: 0.0.2

View file

@ -9,10 +9,10 @@ metadata:
labels:
argocd.argoproj.io/secret-type: repository
stringData:
name: bitnami
name: forgejo
type: helm
enableOci: "true"
url: codeberg.org/forgejo-contrib
url: code.forgejo.org/forgejo-helm
---
apiVersion: argoproj.io/v1alpha1
kind: Application
@ -30,17 +30,29 @@ spec:
syncOptions:
- CreateNamespace=true
source:
repoURL: codeberg.org/forgejo-contrib
repoURL: code.forgejo.org/forgejo-helm
chart: forgejo
targetRevision: 0.12.1
targetRevision: 8.1.2
helm:
valuesObject:
values: |
memcached:
enabled: true
redis:
enabled: true
#global:
# redis:
# password: reset_in_argocd
redis-cluster:
enabled: false
postgresql:
enabled: false
postgresql-ha:
enabled: false
test:
enabled: false
persistence:
annotations:
argocd.argoproj.io/sync-options: Delete=false
ingress:
enabled: true
className: nginx

View file

@ -1,4 +1,3 @@
# Example of PostgreSQL cluster
apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:

View file

@ -21,9 +21,9 @@ spec:
hostPath:
path: /home
type: DirectoryOrCreate
- name: dockersock
- name: containerdsock
hostPath:
path: /var/run/docker.sock
path: /run/containerd/containerd.sock
type: Socket
containers:
- name: sshct
@ -43,5 +43,5 @@ spec:
volumeMounts:
- mountPath: /home
name: home
- mountPath: /var/run/docker.sock
name: dockersock
- mountPath: /run/containerd/containerd.sock
name: containerdsock

View file

@ -13,7 +13,13 @@ spec:
selfHeal: true
syncOptions:
- CreateNamespace=true
source:
repoURL: git@github.com:amkartashov/gf-k8s.git
targetRevision: main
path: state/gullfaxi/apps/test/manifests/
sources:
- repoURL: git@github.com:amkartashov/gf-k8s.git
targetRevision: test-chart-v0.0.2
path: charts/test
helm:
valueFiles:
- $values/state/gullfaxi/apps/test/values.yaml
- repoURL: git@github.com:amkartashov/gf-k8s.git
targetRevision: main
ref: values

View file

@ -1,2 +0,0 @@
name: test
version: 0.0.1

View file

@ -0,0 +1 @@
test: test1

View file

@ -20,7 +20,7 @@ spec:
# https://argo-cd.readthedocs.io/en/stable/user-guide/multiple_sources/#helm-value-files-from-external-git-repository
- repoURL: https://argoproj.github.io/argo-helm
chart: argo-cd
targetRevision: 5.45.0
targetRevision: 9.2.4
helm:
valueFiles:
- $values/state/gullfaxi/system/argocd/values.yaml

View file

@ -1,6 +1,12 @@
global:
domain: argocd.ioot.xyz
redis:
image:
repository: cr.yandex/mirror/library/redis
configs:
cm:
url: https://argocd.ioot.xyz
exec.enabled: true
admin.enabled: false
statusbadge.enabled: "true"
@ -16,6 +22,7 @@ configs:
policy.csv: |
# sub for amkartashov github account with id 7404372
g, Cgc3NDA0MzcyEgZnaXRodWI, role:admin
scopes: '[sub, groups, email]'
server:
# https://argo-cd.readthedocs.io/en/stable/operator-manual/ingress/#ssl-passthrough-with-cert-manager-and-lets-encrypt