-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
71857e8
commit 1f4aea1
Showing
4 changed files
with
233 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
resources: | ||
- resources.yaml | ||
|
||
transformers: | ||
- site-values.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,184 @@ | ||
--- | ||
apiVersion: helm.fluxcd.io/v1 | ||
kind: HelmRelease | ||
metadata: | ||
labels: | ||
name: keycloak | ||
name: keycloak | ||
spec: | ||
chart: | ||
type: helmrepo | ||
repository: https://harbor.taco-cat.xyz/chartrepo/tks | ||
name: keycloak | ||
version: 15.1.6 | ||
origin: https://github.com/bitnami/charts/tree/main/bitnami/keycloak | ||
releaseName: keycloak | ||
targetNamespace: keycloak | ||
values: | ||
global: | ||
storageClass: "taco-storage" | ||
auth: | ||
adminUser: "admin" | ||
adminPassword: "xkzhvotmdnjem" | ||
proxy: edge | ||
httpRelativePath: "/auth/" | ||
production: true | ||
replicaCount: 1 # tunable | ||
ingress: | ||
enabled: true | ||
ingressClassName: nginx # tunable | ||
hostname: TO_BE_FIXED | ||
annotations: | ||
nginx.ingress.kubernetes.io/proxy-buffer-size: 20k | ||
acme.cert-manager.io/http01-edit-in-place: "true" | ||
cert-manager.io/cluster-issuer: http0issuer | ||
tls: true | ||
selfSigned: false | ||
cache: | ||
enabled: true | ||
stackName: kubernetes | ||
postgresql: | ||
enabled: false | ||
externalDatabase: | ||
host: "postgresql.tks-db.svc" # tunable | ||
port: 5432 | ||
password: "xkzhvotmdnjem" | ||
readinessProbe: | ||
failureThreshold: 10 | ||
extraEnvVars: | ||
- name: QUARKUS_TRANSACTION_MANAGER_ENABLE_RECOVERY | ||
value: "true" | ||
|
||
--- | ||
apiVersion: helm.fluxcd.io/v1 | ||
kind: HelmRelease | ||
metadata: | ||
labels: | ||
name: tks-api | ||
name: tks-api | ||
spec: | ||
chart: | ||
type: helmrepo | ||
repository: https://harbor.taco-cat.xyz/chartrepo/tks | ||
name: tks-api | ||
version: 0.1.2 | ||
origin: https://openinfradev.github.io/helm-repo | ||
releaseName: tks-api | ||
targetNamespace: tks | ||
values: | ||
gitBaseUrl: https://github.com | ||
gitAccount: decapod10 | ||
db: | ||
dbHost: postgresql.tks-db.svc | ||
adminUser: postgres | ||
adminPassword: tacopassword | ||
dbUser: tksuser | ||
dbPassword: tacopassword | ||
tksapi: | ||
replicaCount: 1 | ||
image: | ||
repository: harbor.taco-cat.xyz/tks/tks-api | ||
tag: v3.0.1 | ||
tksAccount: | ||
password: admin | ||
args: | ||
imageRegistryUrl: "harbor.taco-cat.xyz/appserving" | ||
harborPwSecret: "harbor-core" | ||
gitRepositoryUrl: "github.com/openinfradev" | ||
keycloakAddress: http://keycloak.keycloak.svc:80/auth | ||
tksbatch: | ||
replicaCount: 1 | ||
image: | ||
repository: harbor.taco-cat.xyz/tks/tks-batch | ||
tag: v3.0.0 | ||
tksconsole: | ||
replicaCount: 1 | ||
image: | ||
repository: harbor.taco-cat.xyz/tks/tks-console | ||
tag: v3.0.1 | ||
|
||
--- | ||
apiVersion: helm.fluxcd.io/v1 | ||
kind: HelmRelease | ||
metadata: | ||
labels: | ||
name: harbor | ||
name: harbor | ||
spec: | ||
chart: | ||
type: helmrepo | ||
repository: https://harbor.taco-cat.xyz/chartrepo/tks | ||
name: harbor | ||
version: 1.11.0 | ||
origin: https://github.com/goharbor/harbor-helm | ||
releaseName: harbor | ||
targetNamespace: harbor | ||
values: | ||
expose: | ||
tls: | ||
certSource: secret | ||
secret: | ||
secretName: "harbor.taco-cat-tls" # tunable | ||
ingress: | ||
hosts: | ||
core: TO_BE_FIXED | ||
className: "nginx" # tunable | ||
annotations: | ||
cert-manager.io/cluster-issuer: http0issuer | ||
acme.cert-manager.io/http01-edit-in-place: "true" | ||
externalURL: TO_BE_FIXED | ||
persistence: | ||
persistentVolumeClaim: | ||
registry: | ||
storageClass: TO_BE_FIXED | ||
accessMode: TO_BE_FIXED | ||
size: 200Gi | ||
chartmuseum: | ||
storageClass: TO_BE_FIXED | ||
accessMode: TO_BE_FIXED | ||
size: 20Gi | ||
jobservice: | ||
jobLog: | ||
storageClass: TO_BE_FIXED | ||
accessMode: TO_BE_FIXED | ||
scanDataExports: | ||
storageClass: TO_BE_FIXED | ||
accessMode: TO_BE_FIXED | ||
redis: | ||
storageClass: TO_BE_FIXED | ||
accessMode: TO_BE_FIXED | ||
trivy: | ||
storageClass: TO_BE_FIXED | ||
database: | ||
type: external | ||
external: | ||
host: "postgresql.tks-db.svc" # tunable | ||
port: "5432" | ||
username: "harbor" | ||
password: "tksharborpassword" | ||
existingSecret: "" | ||
# "disable" - No SSL | ||
# "require" - Always SSL (skip verification) | ||
# "verify-ca" - Always SSL (verify that the certificate presented by the | ||
# server was signed by a trusted CA) | ||
# "verify-full" - Always SSL (verify that the certification presented by the | ||
# server was signed by a trusted CA and the server host name matches the one | ||
# in the certificate) | ||
sslmode: "require" | ||
notary: | ||
enabled: false | ||
cache: | ||
enabled: true | ||
core: | ||
replicas: 2 # tunable | ||
jobservice: | ||
replicas: 2 # tunable | ||
registry: | ||
replicas: 2 # tunable | ||
chartmuseum: | ||
replicas: 2 # tunable | ||
trivy: | ||
replicas: 2 # tunable | ||
portal: | ||
replicas: 2 # tunable | ||
harborAdminPassword: "Xkzhvotmdnjem1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
apiVersion: openinfradev.github.com/v1 | ||
kind: HelmValuesTransformer | ||
metadata: | ||
name: site | ||
|
||
global: | ||
db_host: "postgresql.tks-db.svc" | ||
|
||
charts: | ||
- name: keycloak | ||
override: | ||
global.storageClass: "taco-storage" | ||
auth.adminPassword: "xkzhvotmdnjem" | ||
ingress.enabled: true | ||
ingress.hostname: TO_BE_FIXED | ||
externalDatabase.host: $(db_host) | ||
externalDatabase.password: "xkzhvotmdnjem" | ||
- name: tks-api | ||
override: | ||
gitBaseUrl: https://github.com | ||
gitAccount: decapod10 | ||
# TBU | ||
|
||
- name: harbor | ||
override: | ||
externalURL: TO_BE_FIXED | ||
# TBU | ||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
apiVersion: openinfradev.github.com/v1 | ||
kind: HelmValuesTransformer | ||
metadata: | ||
name: image | ||
global: | ||
registry: private-registry:5000 | ||
charts: | ||
- name: keycloak | ||
override: | ||
image: | ||
registry: $(registry) | ||
repository: bitnami/keycloak | ||
tag: 21.1.2-debian-11-r0 |