mirror of
https://github.com/amkartashov/gf-k8s.git
synced 2026-01-11 01:49:44 +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:
|
labels:
|
||||||
argocd.argoproj.io/secret-type: repository
|
argocd.argoproj.io/secret-type: repository
|
||||||
stringData:
|
stringData:
|
||||||
name: bitnami
|
name: forgejo
|
||||||
type: helm
|
type: helm
|
||||||
enableOci: "true"
|
enableOci: "true"
|
||||||
url: codeberg.org/forgejo-contrib
|
url: code.forgejo.org/forgejo-helm
|
||||||
---
|
---
|
||||||
apiVersion: argoproj.io/v1alpha1
|
apiVersion: argoproj.io/v1alpha1
|
||||||
kind: Application
|
kind: Application
|
||||||
|
|
@ -30,17 +30,29 @@ spec:
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
source:
|
source:
|
||||||
repoURL: codeberg.org/forgejo-contrib
|
repoURL: code.forgejo.org/forgejo-helm
|
||||||
chart: forgejo
|
chart: forgejo
|
||||||
targetRevision: 0.12.1
|
targetRevision: 8.1.2
|
||||||
helm:
|
helm:
|
||||||
valuesObject:
|
values: |
|
||||||
memcached:
|
memcached:
|
||||||
|
enabled: true
|
||||||
|
redis:
|
||||||
|
enabled: true
|
||||||
|
#global:
|
||||||
|
# redis:
|
||||||
|
# password: reset_in_argocd
|
||||||
|
redis-cluster:
|
||||||
enabled: false
|
enabled: false
|
||||||
postgresql:
|
postgresql:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
postgresql-ha:
|
||||||
|
enabled: false
|
||||||
test:
|
test:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
persistence:
|
||||||
|
annotations:
|
||||||
|
argocd.argoproj.io/sync-options: Delete=false
|
||||||
ingress:
|
ingress:
|
||||||
enabled: true
|
enabled: true
|
||||||
className: nginx
|
className: nginx
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
# Example of PostgreSQL cluster
|
|
||||||
apiVersion: postgresql.cnpg.io/v1
|
apiVersion: postgresql.cnpg.io/v1
|
||||||
kind: Cluster
|
kind: Cluster
|
||||||
metadata:
|
metadata:
|
||||||
|
|
|
||||||
|
|
@ -21,9 +21,9 @@ spec:
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /home
|
path: /home
|
||||||
type: DirectoryOrCreate
|
type: DirectoryOrCreate
|
||||||
- name: dockersock
|
- name: containerdsock
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /var/run/docker.sock
|
path: /run/containerd/containerd.sock
|
||||||
type: Socket
|
type: Socket
|
||||||
containers:
|
containers:
|
||||||
- name: sshct
|
- name: sshct
|
||||||
|
|
@ -43,5 +43,5 @@ spec:
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /home
|
- mountPath: /home
|
||||||
name: home
|
name: home
|
||||||
- mountPath: /var/run/docker.sock
|
- mountPath: /run/containerd/containerd.sock
|
||||||
name: dockersock
|
name: containerdsock
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,13 @@ spec:
|
||||||
selfHeal: true
|
selfHeal: true
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
source:
|
sources:
|
||||||
repoURL: git@github.com:amkartashov/gf-k8s.git
|
- repoURL: git@github.com:amkartashov/gf-k8s.git
|
||||||
targetRevision: main
|
targetRevision: test-chart-v0.0.2
|
||||||
path: state/gullfaxi/apps/test/manifests/
|
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
|
# 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
|
- repoURL: https://argoproj.github.io/argo-helm
|
||||||
chart: argo-cd
|
chart: argo-cd
|
||||||
targetRevision: 5.45.0
|
targetRevision: 9.2.4
|
||||||
helm:
|
helm:
|
||||||
valueFiles:
|
valueFiles:
|
||||||
- $values/state/gullfaxi/system/argocd/values.yaml
|
- $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:
|
configs:
|
||||||
cm:
|
cm:
|
||||||
url: https://argocd.ioot.xyz
|
|
||||||
exec.enabled: true
|
exec.enabled: true
|
||||||
admin.enabled: false
|
admin.enabled: false
|
||||||
statusbadge.enabled: "true"
|
statusbadge.enabled: "true"
|
||||||
|
|
@ -16,6 +22,7 @@ configs:
|
||||||
policy.csv: |
|
policy.csv: |
|
||||||
# sub for amkartashov github account with id 7404372
|
# sub for amkartashov github account with id 7404372
|
||||||
g, Cgc3NDA0MzcyEgZnaXRodWI, role:admin
|
g, Cgc3NDA0MzcyEgZnaXRodWI, role:admin
|
||||||
|
scopes: '[sub, groups, email]'
|
||||||
|
|
||||||
server:
|
server:
|
||||||
# https://argo-cd.readthedocs.io/en/stable/operator-manual/ingress/#ssl-passthrough-with-cert-manager-and-lets-encrypt
|
# https://argo-cd.readthedocs.io/en/stable/operator-manual/ingress/#ssl-passthrough-with-cert-manager-and-lets-encrypt
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue