mirror of
https://github.com/amkartashov/gf-k8s.git
synced 2026-01-11 18:09:44 +00:00
Compare commits
1 commit
main
...
test-chart
| Author | SHA1 | Date | |
|---|---|---|---|
| e582c53075 |
10 changed files with 16 additions and 35 deletions
|
|
@ -1,2 +0,0 @@
|
||||||
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: forgejo
|
name: bitnami
|
||||||
type: helm
|
type: helm
|
||||||
enableOci: "true"
|
enableOci: "true"
|
||||||
url: code.forgejo.org/forgejo-helm
|
url: codeberg.org/forgejo-contrib
|
||||||
---
|
---
|
||||||
apiVersion: argoproj.io/v1alpha1
|
apiVersion: argoproj.io/v1alpha1
|
||||||
kind: Application
|
kind: Application
|
||||||
|
|
@ -30,29 +30,17 @@ spec:
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
source:
|
source:
|
||||||
repoURL: code.forgejo.org/forgejo-helm
|
repoURL: codeberg.org/forgejo-contrib
|
||||||
chart: forgejo
|
chart: forgejo
|
||||||
targetRevision: 8.1.2
|
targetRevision: 0.12.1
|
||||||
helm:
|
helm:
|
||||||
values: |
|
valuesObject:
|
||||||
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,3 +1,4 @@
|
||||||
|
# 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: containerdsock
|
- name: dockersock
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /run/containerd/containerd.sock
|
path: /var/run/docker.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: /run/containerd/containerd.sock
|
- mountPath: /var/run/docker.sock
|
||||||
name: containerdsock
|
name: dockersock
|
||||||
|
|
|
||||||
|
|
@ -15,8 +15,8 @@ spec:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
sources:
|
sources:
|
||||||
- repoURL: git@github.com:amkartashov/gf-k8s.git
|
- repoURL: git@github.com:amkartashov/gf-k8s.git
|
||||||
targetRevision: test-chart-v0.0.2
|
targetRevision: test-chart-v0.0.1
|
||||||
path: charts/test
|
path: state/gullfaxi/apps/test/manifests/
|
||||||
helm:
|
helm:
|
||||||
valueFiles:
|
valueFiles:
|
||||||
- $values/state/gullfaxi/apps/test/values.yaml
|
- $values/state/gullfaxi/apps/test/values.yaml
|
||||||
|
|
|
||||||
2
state/gullfaxi/apps/test/chart/Chart.yaml
Normal file
2
state/gullfaxi/apps/test/chart/Chart.yaml
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
name: test
|
||||||
|
version: 0.0.1
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
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: 9.2.4
|
targetRevision: 5.45.0
|
||||||
helm:
|
helm:
|
||||||
valueFiles:
|
valueFiles:
|
||||||
- $values/state/gullfaxi/system/argocd/values.yaml
|
- $values/state/gullfaxi/system/argocd/values.yaml
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,6 @@
|
||||||
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"
|
||||||
|
|
@ -22,7 +16,6 @@ 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