Skip to content

Commit

Permalink
Merge pull request #202 from cho4036/release
Browse files Browse the repository at this point in the history
minor modification for skb installation
  • Loading branch information
ktkfree authored Nov 2, 2023
2 parents 7cb0087 + 61d3c1f commit fd91420
Show file tree
Hide file tree
Showing 4 changed files with 475 additions and 427 deletions.
20 changes: 12 additions & 8 deletions byoh-reference/tks-admin-tools/site-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ charts:
auth.adminPassword: $(commonPassword)
ingress.enabled: true
ingress.hostname: TO_BE_FIXED
ingress.annotations:
nginx.ingress.kubernetes.io/proxy-buffer-size: 20k
acme.cert-manager.io/http01-edit-in-place: "true"
cert-manager.io/cluster-issuer: http0issuer
externalDatabase.host: $(dbHost)
externalDatabase.password: $(commonPassword)

Expand Down Expand Up @@ -47,7 +51,7 @@ charts:
ingress:
hosts:
core: TO_BE_FIXED
className: "nginx"
className: "nginx"
externalURL: TO_BE_FIXED
persistence:
persistentVolumeClaim:
Expand All @@ -74,21 +78,21 @@ charts:
database:
type: external
external:
host: $(dbHost)
host: $(dbHost)
password: $(commonPassword)
sslmode: "require"
core:
replicas: 2
replicas: 2
jobservice:
replicas: 2
replicas: 2
registry:
replicas: 2
replicas: 2
chartmuseum:
replicas: 2
replicas: 2
trivy:
replicas: 2
replicas: 2
portal:
replicas: 2
replicas: 2
harborAdminPassword: $(commonPassword)

- name: ingress-nginx
Expand Down
240 changes: 153 additions & 87 deletions byoh-ssu-reference/tks-admin-tools/site-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,98 +9,164 @@ global:
storageClass: ${STORAGE_CLASS}
storageClassHa: ${STORAGE_CLASS_HA}


charts:
- name: keycloak
override:
global.storageClass: $(storageClass)
auth.adminPassword: $(commonPassword)
ingress.enabled: true
ingress.hostname: TO_BE_FIXED
externalDatabase.host: $(dbHost)
externalDatabase.password: $(commonPassword)
- name: keycloak
override:
global.storageClass: $(storageClass)
auth.adminPassword: $(commonPassword)
ingress.enabled: true
ingress.tls: false
ingress.hostname: TO_BE_FIXED
ingress.ingressClassName: "f5"
ingress.annotations:
ingress.kubernetes.io/allow-http: "false"
ingress.kubernetes.io/ssl-redirect: "true"
virtual-server.f5.com/clientssl: '[ { "hosts": [ "skbroadband.com" ], "bigIpProfile":
"/Common/skbroadband" } ]'
virtual-server.f5.com/health: |
[
{
"path": "TO_BE_FIXED",
"send": "HTTP GET /",
"interval": 5,
"timeout": 10
}
]
virtual-server.f5.com/ip: TO_BE_FIXED
virtual-server.f5.com/partition: TO_BE_FIXED
externalDatabase.host: $(dbHost)
externalDatabase.password: $(commonPassword)

- name: tks-apis
override:
gitBaseUrl: https://github.com
gitAccount: decapod10
db:
dbHost: $(dbHost)
adminPassword: $(commonPassword)
dbUser: tksuser
dbPassword: $(commonPassword)
tksapi:
replicaCount: 1
tksAccount:
password: $(commonPassword)
image:
repository: harbor.taco-cat.xyz/tks/tks-api
pullPolicy: Always
tag: v3.1.0
args:
kubeconfigPath: ""

externalGiteaUrl: TO_BE_FIXED

keycloakAddress: http://keycloak.keycloak.svc.cluster.local/auth
keycloakAdmin: admin
keycloakPassword: $(commonPassword)

mailProvider: smtp
smtpHost: TO_BE_FIXED
smtpPort: TO_BE_FIXED
smtpUsername: TO_BE_FIXED
smtpPassword: TO_BE_FIXED
smtpFromEmail: TO_BE_FIXED

- name: tks-apis
override:
gitBaseUrl: https://github.com
gitAccount: decapod10
db:
dbHost: $(dbHost)
adminPassword: $(commonPassword)
dbUser: tksuser
dbPassword: $(commonPassword)
tksapi:
replicaCount: 1
tksAccount:
password: $(commonPassword)
args:
imageRegistryUrl: "harbor.taco-cat.xyz/appserving"
gitRepositoryUrl: "github.com/openinfradev"
keycloakAddress: http://keycloak.keycloak.svc:80/auth
tksbatch:
replicaCount: 1
tksconsole:
replicaCount: 1
tksbatch:
replicaCount: 1
image:
repository: harbor.taco-cat.xyz/tks/tks-batch
pullPolicy: Always
tag: v3.1.0
args:
tksApiPassword: $(commonPassword)
tksconsole:
replicaCount: 1
image:
repository: harbor.taco-cat.xyz/tks/tks-console
pullPolicy: Always
tag: v3.1.0

- name: harbor
override:
expose:
ingress:
hosts:
core: TO_BE_FIXED
className: "nginx"
externalURL: TO_BE_FIXED
persistence:
persistentVolumeClaim:
registry:
storageClass: $(storageClassHa)
accessMode: ReadWriteMany
size: 200Gi
chartmuseum:
storageClass: $(storageClassHa)
accessMode: ReadWriteMany
size: 20Gi
jobservice:
jobLog:
- name: harbor
override:
ipFamily:
ipv6:
enabled: false
expose:
tls:
enabled: false
ingress:
annotations:
ingress.kubernetes.io/allow-http: "false"
ingress.kubernetes.io/ssl-redirect: "true"
virtual-server.f5.com/clientssl: '[ { "hosts": [ "skbroadband.com" ], "bigIpProfile":
"/Common/skbroadband" } ]'
virtual-server.f5.com/health: |
[
{
"path": "TO_BE_FIXED",
"send": "HTTP GET /",
"interval": 5,
"timeout": 10
}
]
virtual-server.f5.com/ip: TO_BE_FIXED
virtual-server.f5.com/partition: TO_BE_FIXED
hosts:
core: TO_BE_FIXED
className: "f5"
externalURL: TO_BE_FIXED
persistence:
persistentVolumeClaim:
registry:
storageClass: $(storageClassHa)
accessMode: ReadWriteMany
scanDataExports:
size: 200Gi
chartmuseum:
storageClass: $(storageClassHa)
accessMode: ReadWriteMany
redis:
storageClass: $(storageClass)
accessMode: ReadWriteOnce
trivy:
storageClass: $(storageClass)
database:
type: external
external:
host: $(dbHost)
password: $(commonPassword)
sslmode: "require"
core:
replicas: 2
jobservice:
replicas: 2
registry:
replicas: 2
chartmuseum:
replicas: 2
trivy:
replicas: 2
portal:
replicas: 2
harborAdminPassword: $(commonPassword)
size: 20Gi
jobservice:
jobLog:
storageClass: $(storageClassHa)
accessMode: ReadWriteMany
scanDataExports:
storageClass: $(storageClassHa)
accessMode: ReadWriteMany
redis:
storageClass: $(storageClass)
accessMode: ReadWriteOnce
trivy:
storageClass: $(storageClass)
database:
type: external
external:
host: $(dbHost)
password: $(commonPassword)
sslmode: "require"
core:
replicas: 2
jobservice:
replicas: 2
registry:
replicas: 2
chartmuseum:
replicas: 2
trivy:
replicas: 2
portal:
replicas: 2
harborAdminPassword: $(commonPassword)

- name: ingress-nginx
override:
controller:
resources:
requests:
cpu: 2000m
memory: 4Gi
service:
externalTrafficPolicy: Local
type: NodePort
config:
enable-underscores-in-headers: "true"
proxy-body-size: "10m"
- name: ingress-nginx
override:
controller:
resources:
requests:
cpu: 2000m
memory: 4Gi
service:
externalTrafficPolicy: Local
type: NodePort
config:
enable-underscores-in-headers: "true"
proxy-body-size: "10m"
Loading

0 comments on commit fd91420

Please sign in to comment.