taco-registry

by joaquinito2051

Helm chartv1.0.6App 1.0

A Helm chart for Kubernetes

About this chart

Registry Deployment Project

registry helm chart (registry, postgresql, clair, builder, app)

Helm install

$ helm install --name taco-registry .

Helm uninstall

$ helm delete --purge taco-registry

Values

KeyDescriptionExample
namespacek8s 네임스페이스taco-registry
ingressPortk8s ingressController port30080
tacoRegistry.deployment.imageregistry imageregistry:2
tacoRegistry.deployment.auth.serviceregistry auth servicetaco-registry
tacoRegistry.deployment.auth.issuerregistry auth issuertaco-registry
tacoRegistry.deployment.auth.keyPasswordregistry auth key passwordtaco-registry
tacoRegistry.deployment.auth.keyPairAliasregistry auth key pair aliasservercert
tacoRegistry.deployment.auth.keyPairPasswordregistry auth key pair passwordtaco-registry
tacoRegistry.ingress1.hostregistry ingress 도메인(app, builder, clair 에서 쓰일 도메인으로 변경하게 되면 각각의 host alias 도 수정해야 됨)taco-registry.com
tacoRegistry.ingress2.hostregistry ingress 도메인taco-registry.com
tacoRegistry.ingressPub1.hostregistry ingress 도메인taco-registry.com
tacoRegistry.ingressPub2.hostregistry ingress 도메인taco-registry.com
tacoRegistry.volume.storageClassNameregistry storage class namenetapp
tacoRegistry.volume.data.sizeregistry storage 볼륨 사이즈10Gi
tacoDb.useExternalDb외부 db 사용 여부false
tacoDb.deployment.imagedb imagepostgress:latest
tacoDb.deployment.data.hostdb host (useExternalDb이 false 인 경우 {serviceName}.{namespace}.svc로 설정)taco-db.default.svc
tacoDb.deployment.data.portdb port5432
tacoDb.deployment.data.rootDbroot dbpostgres
tacoDb.deployment.data.rootUserroot user namepostgres
tacoDb.deployment.data.rootPasswordroot passwordpostgres1234
tacoDb.deployment.data.dbdb nameregistry
tacoDb.deployment.data.userdb user nameregistry
tacoDb.deployment.data.passworddb passwordregistry1234
tacoDb.volume.storageClassNamedb storage class namenetapp
tacoDb.volume.data.sizedb storage 볼륨 사이즈10Gi
tacoClair.deployment.imageclair imagequay.io/coreos/clair:latest
tacoClair.deployment.replicasclair replicas1
tacoClair.deployment.data.dbclair db nameclair
tacoClair.deployment.data.userclair db user nameclair
tacoClair.deployment.data.passwordclair db passwordclair
tacoRegistryBuilder.deployment.imagebuilder imageboozer83/taco-registry-builder:latest
tacoRegistryBuilder.deployment.replicasbuilder replicas1
tacoRegistryBuilder.deployment.hostAliasesbuilder hosts(/etc/hosts)``
tacoRegistryBuilder.mirrorsbuilder 에서 이미지 push 될 때 밀어 넣어줄 곳의 host 목록``
tacoRegistryApp.deployment.imageapp imageboozer83/taco-registry-app:latest
tacoRegistryApp.deployment.replicasapp replicas1
tacoRegistryApp.deployment.envapp 환경변수- name: KEYCLOAK_CLIENT_IDvalue: "registry"
tacoRegistryApp.ingress.hostapp ingress 도메인taco.com
tacoRegistryApp.ingressPub.hostapp ingress 도메인taco.com

Deploy taco-registry with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has taco-registry on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the charttaco-registry is pinned at v1.0.6 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply