Add nodeSelector to avoid pods running on master
This commit is contained in:
parent
c0a7c60a3b
commit
91cb2000eb
@ -37,30 +37,25 @@ persistence:
|
|||||||
- ReadWriteOnce
|
- ReadWriteOnce
|
||||||
|
|
||||||
gitea:
|
gitea:
|
||||||
admin:
|
|
||||||
username: "admin"
|
|
||||||
password: "admin1234"
|
|
||||||
email: "dvirlabs@gmail.com"
|
|
||||||
config:
|
config:
|
||||||
APP_NAME: "Gitea"
|
OAUTH2_JWT_SECRET: "randomstring"
|
||||||
SERVER__ROOT_URL: "https://git.dvirlabs.com"
|
additionalEnvVars:
|
||||||
SERVICE__REGISTER_EMAIL_CONFIRM: "false"
|
- name: GITEA__oauth__0__client_secret
|
||||||
SERVICE__DISABLE_REGISTRATION: "false"
|
valueFrom:
|
||||||
SERVICE__REQUIRE_SIGNIN_VIEW: "false"
|
secretKeyRef:
|
||||||
MAILER__ENABLED: "false"
|
name: gitea-keycloak-secret
|
||||||
SERVICE__ALLOW_ONLY_EXTERNAL_REGISTRATION: "false"
|
key: client-secret
|
||||||
|
|
||||||
oauth:
|
oauth:
|
||||||
- name: Keycloak
|
- name: Keycloak
|
||||||
provider: openidConnect
|
provider: openidConnect
|
||||||
key: gitea
|
key: gitea
|
||||||
secret: gIA3YXhesiyIbKkMMtasCVTd7CvUyLwA
|
|
||||||
autoDiscoverUrl: https://keycloak.dvirlabs.com/realms/lab/.well-known/openid-configuration
|
autoDiscoverUrl: https://keycloak.dvirlabs.com/realms/lab/.well-known/openid-configuration
|
||||||
scopes: openid profile email
|
scopes: openid profile email
|
||||||
groupClaimName: groups
|
groupClaimName: groups
|
||||||
adminGroup: gitea-admins
|
adminGroup: gitea-admins
|
||||||
restrictedGroup: gitea-users
|
restrictedGroup: gitea-users
|
||||||
|
|
||||||
|
|
||||||
service:
|
service:
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
|
|
||||||
|
|||||||
@ -55,3 +55,6 @@ metrics:
|
|||||||
|
|
||||||
cache:
|
cache:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|
||||||
|
nodeSelector:
|
||||||
|
node-role.kubernetes.io/worker: "true"
|
||||||
@ -54,3 +54,6 @@ env:
|
|||||||
DB_USER: "wikijs"
|
DB_USER: "wikijs"
|
||||||
DB_PASS: "wikijs123"
|
DB_PASS: "wikijs123"
|
||||||
DB_NAME: "wiki"
|
DB_NAME: "wiki"
|
||||||
|
|
||||||
|
nodeSelector:
|
||||||
|
node-role.kubernetes.io/worker: "true"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user