mirror of
https://github.com/amkartashov/gf-k8s.git
synced 2026-01-10 17:39:43 +00:00
Compare commits
12 commits
test-chart
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 153aa9af0e | |||
| d369f81fed | |||
| e4f613214e | |||
| b0a4ffcdd4 | |||
| a2222b9c8f | |||
| adbd9dadb2 | |||
| e5489108fe | |||
| c1ecb8bd37 | |||
| ad7eb589b3 | |||
| 8d3262dccd | |||
| ef9fc76ed5 | |||
| 7ba11fa84a |
10 changed files with 43 additions and 18 deletions
2
charts/test/Chart.yaml
Normal file
2
charts/test/Chart.yaml
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
name: test
|
||||
version: 0.0.2
|
||||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
# Example of PostgreSQL cluster
|
||||
apiVersion: postgresql.cnpg.io/v1
|
||||
kind: Cluster
|
||||
metadata:
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -1,2 +0,0 @@
|
|||
name: test
|
||||
version: 0.0.1
|
||||
1
state/gullfaxi/apps/test/values.yaml
Normal file
1
state/gullfaxi/apps/test/values.yaml
Normal file
|
|
@ -0,0 +1 @@
|
|||
test: test1
|
||||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue