Skip to content

Commit

Permalink
correct endpoints and use correct api version (#88)
Browse files Browse the repository at this point in the history
Signed-off-by: Manabu Mccloskey <[email protected]>
  • Loading branch information
nabuskey authored Nov 20, 2023
1 parent e4d72bc commit 2b4662a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
13 changes: 7 additions & 6 deletions pkg/controllers/localbuild/resources/gitea/k8s/install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ stringData:
security: INSTALL_LOCK=true
server: |-
APP_DATA_PATH=/data
DOMAIN=localtest.me
DOMAIN=gitea.cnoe.localtest.me
ENABLE_PPROF=false
HTTP_PORT=3000
PROTOCOL=http
ROOT_URL=http://localtest.me:3000
SSH_DOMAIN=localtest.me
ROOT_URL=http://gitea.cnoe.localtest.me:8880
SSH_DOMAIN=gitea.cnoe.localtest.me
SSH_LISTEN_PORT=2222
SSH_PORT=22
START_SSH_SERVER=true
Expand Down Expand Up @@ -369,7 +369,7 @@ spec:
template:
metadata:
annotations:
checksum/config: b72b51d66dcd6dd355217fae8f65b19eae7fe343092e672ab2b117f2fd35638c
checksum/config: 21e599f11581db3008ffb136e6a77f9d49e5c5ee478c234e91576476f56ddc45
labels:
helm.sh/chart: gitea-9.5.1
app: gitea
Expand Down Expand Up @@ -573,11 +573,11 @@ spec:
http:
paths:
- path: /
pathType: Prefix
pathType: Prefix
backend:
service:
name: my-gitea-http
port:
port:
number: 3000
---
apiVersion: v1
Expand All @@ -588,3 +588,4 @@ type: Opaque
stringData:
username: giteaAdmin
password: giteaPassword

9 changes: 5 additions & 4 deletions pkg/controllers/localbuild/resources/gitea/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ test:

gitea:
admin:
existingSecret: gitea-admin-secret
existingSecret: gitea-admin-secret
config:
database:
DB_TYPE: sqlite3
Expand All @@ -24,8 +24,8 @@ gitea:
queue:
TYPE: level
server:
DOMAIN: localtest.me
ROOT_URL: 'http://localtest.me:3000'
DOMAIN: gitea.cnoe.localtest.me
ROOT_URL: 'http://gitea.cnoe.localtest.me:8880'

service:
ssh:
Expand All @@ -35,9 +35,10 @@ service:

ingress:
enabled: true
apiVersion: 'networking.k8s.io/v1'
className: nginx
hosts:
- host: gitea.cnoe.localtest.me
paths:
- path: /
pathType: Prefix
pathType: Prefix

0 comments on commit 2b4662a

Please sign in to comment.