Compare commits
10 Commits
3ffa602d73
...
ddd4bf1b20
| Author | SHA1 | Date | |
|---|---|---|---|
| ddd4bf1b20 | |||
| adca82507e | |||
| 972780ba0f | |||
| d578b58246 | |||
| b85669a956 | |||
| 922f3b5df2 | |||
| 97084e060f | |||
| 73cf4d1423 | |||
| c8c78ca0a9 | |||
| cce05b445b |
@ -6,7 +6,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
project: dev-tools
|
project: dev-tools
|
||||||
source:
|
source:
|
||||||
repoURL: 'https://git.dvirlabs.com/dvirlabs/dev-tools.git'
|
repoURL: 'ssh://git@gitea-ssh.dev-tools.svc.cluster.local.:2222/dvirlabs/dev-tools.git'
|
||||||
targetRevision: HEAD
|
targetRevision: HEAD
|
||||||
path: charts/application-template
|
path: charts/application-template
|
||||||
helm:
|
helm:
|
||||||
|
|||||||
@ -6,7 +6,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
project: dev-tools
|
project: dev-tools
|
||||||
source:
|
source:
|
||||||
repoURL: https://git.dvirlabs.com/dvirlabs/dev-tools.git
|
repoURL: ssh://git@gitea-ssh.dev-tools.svc.cluster.local.:2222/dvirlabs/dev-tools.git
|
||||||
targetRevision: HEAD
|
targetRevision: HEAD
|
||||||
path: manifests/cluster-secret-store
|
path: manifests/cluster-secret-store
|
||||||
directory:
|
directory:
|
||||||
@ -15,8 +15,5 @@ spec:
|
|||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: dev-tools
|
namespace: dev-tools
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
automated:
|
|
||||||
prune: true
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
|
|||||||
@ -6,7 +6,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
project: dev-tools
|
project: dev-tools
|
||||||
source:
|
source:
|
||||||
repoURL: https://git.dvirlabs.com/dvirlabs/dev-tools.git
|
repoURL: ssh://git@gitea-ssh.dev-tools.svc.cluster.local.:2222/dvirlabs/dev-tools.git
|
||||||
targetRevision: HEAD
|
targetRevision: HEAD
|
||||||
path: manifests/external-secrets-dev-tools
|
path: manifests/external-secrets-dev-tools
|
||||||
directory:
|
directory:
|
||||||
@ -15,8 +15,5 @@ spec:
|
|||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: dev-tools
|
namespace: dev-tools
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
automated:
|
|
||||||
prune: true
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
|
|||||||
@ -6,7 +6,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
project: dev-tools
|
project: dev-tools
|
||||||
source:
|
source:
|
||||||
repoURL: 'https://git.dvirlabs.com/dvirlabs/dev-tools.git'
|
repoURL: 'ssh://git@gitea-ssh.dev-tools.svc.cluster.local.:2222/dvirlabs/dev-tools.git'
|
||||||
targetRevision: HEAD
|
targetRevision: HEAD
|
||||||
path: charts/external-secrets
|
path: charts/external-secrets
|
||||||
helm:
|
helm:
|
||||||
@ -15,7 +15,4 @@ spec:
|
|||||||
destination:
|
destination:
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: dev-tools
|
namespace: dev-tools
|
||||||
syncPolicy:
|
syncPolicy: {}
|
||||||
automated:
|
|
||||||
prune: true
|
|
||||||
selfHeal: true
|
|
||||||
|
|||||||
@ -6,7 +6,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
project: dev-tools
|
project: dev-tools
|
||||||
source:
|
source:
|
||||||
repoURL: 'https://git.dvirlabs.com/dvirlabs/dev-tools.git'
|
repoURL: 'ssh://git@gitea-ssh.dev-tools.svc.cluster.local.:2222/dvirlabs/dev-tools.git'
|
||||||
targetRevision: HEAD
|
targetRevision: HEAD
|
||||||
path: charts/helm-gitea
|
path: charts/helm-gitea
|
||||||
helm:
|
helm:
|
||||||
|
|||||||
@ -6,7 +6,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
project: dev-tools
|
project: dev-tools
|
||||||
source:
|
source:
|
||||||
repoURL: 'https://git.dvirlabs.com/dvirlabs/dev-tools.git'
|
repoURL: 'ssh://git@gitea-ssh.dev-tools.svc.cluster.local.:2222/dvirlabs/dev-tools.git'
|
||||||
targetRevision: HEAD
|
targetRevision: HEAD
|
||||||
path: charts/harbor
|
path: charts/harbor
|
||||||
helm:
|
helm:
|
||||||
|
|||||||
@ -6,7 +6,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
project: dev-tools
|
project: dev-tools
|
||||||
source:
|
source:
|
||||||
repoURL: https://git.dvirlabs.com/dvirlabs/dev-tools.git
|
repoURL: ssh://git@gitea-ssh.dev-tools.svc.cluster.local.:2222/dvirlabs/dev-tools.git
|
||||||
targetRevision: HEAD
|
targetRevision: HEAD
|
||||||
path: manifests/oidc-bootstrap
|
path: manifests/oidc-bootstrap
|
||||||
directory:
|
directory:
|
||||||
@ -14,7 +14,4 @@ spec:
|
|||||||
destination:
|
destination:
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: dev-tools
|
namespace: dev-tools
|
||||||
syncPolicy:
|
syncPolicy: {}
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
|
|||||||
@ -6,7 +6,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
project: dev-tools
|
project: dev-tools
|
||||||
source:
|
source:
|
||||||
repoURL: https://git.dvirlabs.com/dvirlabs/dev-tools.git
|
repoURL: ssh://git@gitea-ssh.dev-tools.svc.cluster.local.:2222/dvirlabs/dev-tools.git
|
||||||
targetRevision: HEAD
|
targetRevision: HEAD
|
||||||
path: charts/planka
|
path: charts/planka
|
||||||
helm:
|
helm:
|
||||||
|
|||||||
@ -6,7 +6,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
project: dev-tools
|
project: dev-tools
|
||||||
source:
|
source:
|
||||||
repoURL: https://git.dvirlabs.com/dvirlabs/dev-tools.git
|
repoURL: ssh://git@gitea-ssh.dev-tools.svc.cluster.local.:2222/dvirlabs/dev-tools.git
|
||||||
targetRevision: HEAD
|
targetRevision: HEAD
|
||||||
path: manifests/vault
|
path: manifests/vault
|
||||||
directory:
|
directory:
|
||||||
@ -14,7 +14,4 @@ spec:
|
|||||||
destination:
|
destination:
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: dev-tools
|
namespace: dev-tools
|
||||||
syncPolicy:
|
syncPolicy: {}
|
||||||
automated:
|
|
||||||
prune: true
|
|
||||||
selfHeal: true
|
|
||||||
|
|||||||
@ -6,7 +6,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
project: dev-tools
|
project: dev-tools
|
||||||
source:
|
source:
|
||||||
repoURL: https://git.dvirlabs.com/dvirlabs/dev-tools.git
|
repoURL: ssh://git@gitea-ssh.dev-tools.svc.cluster.local.:2222/dvirlabs/dev-tools.git
|
||||||
targetRevision: HEAD
|
targetRevision: HEAD
|
||||||
path: charts/vault
|
path: charts/vault
|
||||||
helm:
|
helm:
|
||||||
@ -15,10 +15,7 @@ spec:
|
|||||||
destination:
|
destination:
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: dev-tools
|
namespace: dev-tools
|
||||||
syncPolicy:
|
syncPolicy: {}
|
||||||
automated:
|
|
||||||
prune: true
|
|
||||||
selfHeal: true
|
|
||||||
ignoreDifferences:
|
ignoreDifferences:
|
||||||
- group: admissionregistration.k8s.io
|
- group: admissionregistration.k8s.io
|
||||||
kind: MutatingWebhookConfiguration
|
kind: MutatingWebhookConfiguration
|
||||||
|
|||||||
@ -6,7 +6,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
project: dev-tools
|
project: dev-tools
|
||||||
source:
|
source:
|
||||||
repoURL: 'https://git.dvirlabs.com/dvirlabs/dev-tools.git'
|
repoURL: 'ssh://git@gitea-ssh.dev-tools.svc.cluster.local.:2222/dvirlabs/dev-tools.git'
|
||||||
targetRevision: HEAD
|
targetRevision: HEAD
|
||||||
path: charts/wiki
|
path: charts/wiki
|
||||||
helm:
|
helm:
|
||||||
@ -16,9 +16,6 @@ spec:
|
|||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: dev-tools
|
namespace: dev-tools
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
automated:
|
|
||||||
prune: true
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
ignoreDifferences:
|
ignoreDifferences:
|
||||||
|
|||||||
@ -8,7 +8,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
project: dev-tools
|
project: dev-tools
|
||||||
source:
|
source:
|
||||||
repoURL: 'https://git.dvirlabs.com/dvirlabs/dev-tools.git'
|
repoURL: 'ssh://git@gitea-ssh.dev-tools.svc.cluster.local.:2222/dvirlabs/dev-tools.git'
|
||||||
targetRevision: HEAD
|
targetRevision: HEAD
|
||||||
path: charts/woodpecker
|
path: charts/woodpecker
|
||||||
helm:
|
helm:
|
||||||
|
|||||||
88
manifests/gitea/current-values.yaml
Normal file
88
manifests/gitea/current-values.yaml
Normal file
@ -0,0 +1,88 @@
|
|||||||
|
nodeSelector:
|
||||||
|
workload: general
|
||||||
|
|
||||||
|
ingress:
|
||||||
|
enabled: true
|
||||||
|
className: traefik
|
||||||
|
annotations:
|
||||||
|
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
||||||
|
traefik.ingress.kubernetes.io/router.tls: "true"
|
||||||
|
hosts:
|
||||||
|
- host: git.dvirlabs.com
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: Prefix
|
||||||
|
tls:
|
||||||
|
- hosts:
|
||||||
|
- git.dvirlabs.com
|
||||||
|
secretName: git-dvirlabs-cert
|
||||||
|
|
||||||
|
gitea:
|
||||||
|
admin:
|
||||||
|
username: admin
|
||||||
|
password: admin1234
|
||||||
|
email: admin@dvirlabs.com
|
||||||
|
passwordMode: keepUpdated
|
||||||
|
|
||||||
|
config:
|
||||||
|
server:
|
||||||
|
DOMAIN: git.dvirlabs.com
|
||||||
|
ROOT_URL: https://git.dvirlabs.com/
|
||||||
|
SSH_DOMAIN: git.dvirlabs.com
|
||||||
|
SSH_LISTEN_PORT: 2222
|
||||||
|
SSH_PORT: 22
|
||||||
|
PROTOCOL: http
|
||||||
|
metrics:
|
||||||
|
ENABLED: true
|
||||||
|
TOKEN: prometheusmetricstoken
|
||||||
|
security:
|
||||||
|
INSTALL_LOCK: true
|
||||||
|
SECRET_KEY: somesecret
|
||||||
|
INTERNAL_TOKEN: somesecret
|
||||||
|
oauth:
|
||||||
|
- name: "Keycloak"
|
||||||
|
provider: "openidConnect"
|
||||||
|
key: "gitea"
|
||||||
|
secret: "gIA3YXhesiyIbKkMMtasCVTd7CvUyLwA"
|
||||||
|
autoDiscoverUrl: "https://keycloak.dvirlabs.com/realms/lab/.well-known/openid-configuration"
|
||||||
|
scopes: "openid profile email"
|
||||||
|
groupClaimName: "groups"
|
||||||
|
adminGroup: "gitea-admins"
|
||||||
|
restrictedGroup: "gitea-users"
|
||||||
|
|
||||||
|
livenessProbe:
|
||||||
|
enabled: true
|
||||||
|
tcpSocket:
|
||||||
|
port: http
|
||||||
|
initialDelaySeconds: 200
|
||||||
|
|
||||||
|
readinessProbe:
|
||||||
|
enabled: true
|
||||||
|
tcpSocket:
|
||||||
|
port: http
|
||||||
|
initialDelaySeconds: 5
|
||||||
|
|
||||||
|
postgresql-ha:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
|
postgresql:
|
||||||
|
enabled: true
|
||||||
|
global:
|
||||||
|
postgresql:
|
||||||
|
auth:
|
||||||
|
username: gitea
|
||||||
|
password: gitea
|
||||||
|
database: gitea
|
||||||
|
primary:
|
||||||
|
nodeSelector:
|
||||||
|
workload: general
|
||||||
|
persistence:
|
||||||
|
storageClass: nfs-client
|
||||||
|
size: 20Gi
|
||||||
|
|
||||||
|
persistence:
|
||||||
|
enabled: true
|
||||||
|
storageClass: nfs-client
|
||||||
|
size: 50Gi
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
@ -1,3 +1,10 @@
|
|||||||
|
global:
|
||||||
|
security:
|
||||||
|
allowInsecureImages: true
|
||||||
|
|
||||||
|
nodeSelector:
|
||||||
|
workload: general
|
||||||
|
|
||||||
ingress:
|
ingress:
|
||||||
enabled: true
|
enabled: true
|
||||||
className: traefik
|
className: traefik
|
||||||
@ -64,6 +71,10 @@ postgresql-ha:
|
|||||||
|
|
||||||
postgresql:
|
postgresql:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
image:
|
||||||
|
registry: docker.io
|
||||||
|
repository: bitnamilegacy/postgresql
|
||||||
|
tag: 17.5.0-debian-12-r3
|
||||||
global:
|
global:
|
||||||
postgresql:
|
postgresql:
|
||||||
auth:
|
auth:
|
||||||
@ -72,10 +83,19 @@ postgresql:
|
|||||||
database: gitea
|
database: gitea
|
||||||
primary:
|
primary:
|
||||||
persistence:
|
persistence:
|
||||||
size: 10Gi
|
storageClass: nfs-client
|
||||||
|
size: 50Gi
|
||||||
|
|
||||||
persistence:
|
persistence:
|
||||||
enabled: true
|
enabled: true
|
||||||
size: 5Gi
|
storageClass: nfs-client
|
||||||
|
size: 50Gi
|
||||||
accessModes:
|
accessModes:
|
||||||
- ReadWriteOnce
|
- ReadWriteOnce
|
||||||
|
|
||||||
|
valkey-cluster:
|
||||||
|
enabled: true
|
||||||
|
image:
|
||||||
|
registry: docker.io
|
||||||
|
repository: bitnamilegacy/valkey-cluster
|
||||||
|
tag: 8.1.1-debian-12-r2
|
||||||
@ -27,6 +27,10 @@ postgresql:
|
|||||||
postgresqlUsername: wikijs
|
postgresqlUsername: wikijs
|
||||||
postgresqlPassword: wikijs123
|
postgresqlPassword: wikijs123
|
||||||
postgresqlDatabase: wiki
|
postgresqlDatabase: wiki
|
||||||
|
image:
|
||||||
|
registry: docker.io
|
||||||
|
repository: bitnamilegacy/postgresql
|
||||||
|
tag: 11.22.0
|
||||||
persistence:
|
persistence:
|
||||||
enabled: true
|
enabled: true
|
||||||
size: 30Gi
|
size: 30Gi
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user