Update settings dor ArgoCD (#20)

Reviewed-on: https://git.badhouseplants.net/badhouseplants/k8s-cluster-config/pulls/20
This commit is contained in:
Nikolai Rodionov
2023-02-26 17:38:07 +00:00
parent eb85b3ee26
commit 44584a7ada
6 changed files with 84 additions and 6 deletions

View File

@ -49,10 +49,14 @@ server:
policy.csv: |
g, allanger@zohomail.com, role:admin
g, rodion.n.rodionov@gmail.com, role:admin
p, drone, applications, get, */*,allow
p, drone, applications, sync, */*,allow
config:
exec.enabled: "true"
url: https://argo.badhouseplants.net
kustomize.buildOptions: "--enable-alpha-plugins"
accounts.drone: apiKey, login
accounts.drone.enabled: "true"
extraArgs:
- --insecure

View File

@ -1,5 +1,39 @@
ns:
enabled: true
name: gitea-service
istio:
enabled: true
istio:
- name: gitea-http
gateway: badhouseplants-net
hostname: git.badhouseplants.net
service: gitea-http
port: 3000
templates:
- |
{{ range .Values.istio }}
apiVersion: networking.istio.io/v1beta1
kind: VirtualService
metadata:
name: {{ .name }}
spec:
gateways:
- "istio-system/{{ .gateway }}"
hosts:
- {{ .hostname }}
http:
- match:
- uri:
prefix: /
route:
- destination:
host: {{ .service }}
port:
number: {{ .port }}
{{ end }}
replicaCount: 1
clusterDomain: cluster.local
resources:
limits:
cpu: 300m
@ -7,6 +41,7 @@ resources:
requests:
cpu: 100m
memory: 128Mi
persistence:
enabled: true
size: 10Gi
@ -14,10 +49,12 @@ persistence:
- ReadWriteOnce
labels: {}
annotations: {}
memcached:
enabled: true
service:
port: 11211
postgresql:
auth:
postgresPassword: check
@ -27,8 +64,10 @@ postgresql:
servicePort: 5432
persistence:
size: 10Gi
ingress:
enabled: false
gitea:
config:
APP_NAME: Bad Houseplants Gitea