From 78a198661949e2c38c31a33602178e9864bd596e Mon Sep 17 00:00:00 2001 From: nold Date: Sun, 23 Jan 2022 00:51:42 +0100 Subject: [PATCH] Replaced harbor with trow --- projects/registry/project.yml | 8 +++---- projects/registry/values/harbor.yaml | 29 ------------------------- projects/registry/values/trow.yaml | 32 ++++++++++++++++++++++++++++ 3 files changed, 36 insertions(+), 33 deletions(-) delete mode 100644 projects/registry/values/harbor.yaml create mode 100644 projects/registry/values/trow.yaml diff --git a/projects/registry/project.yml b/projects/registry/project.yml index 90c0a374..6a501600 100644 --- a/projects/registry/project.yml +++ b/projects/registry/project.yml @@ -1,7 +1,7 @@ config: description: Container Image Registry apps: -- name: harbor - repoURL: https://helm.goharbor.io - chart: harbor - targetRevision: 1.8.1 +- name: trow + repoURL: https://github.com/ContainerSolutions/trow/ + path: charts/trow + targetRevision: main diff --git a/projects/registry/values/harbor.yaml b/projects/registry/values/harbor.yaml deleted file mode 100644 index 0afbed3c..00000000 --- a/projects/registry/values/harbor.yaml +++ /dev/null @@ -1,29 +0,0 @@ -expose: - type: ingress - tls: - enabled: true - certSource: secret - secret: - secretName: "harbor-tls" - notarySecretName: "notarty-tls" - ingress: - hosts: - core: registry.dc - notary: notary.dc - controller: default - className: "" - annotations: - traefik.ingress.kubernetes.io/router.tls: 'true' - cert-manager.io/cluster-issuer: vault-issuer - -externalURL: https://registry.dc - -ipFamily: - ipv6: - enabled: false - -persistence: - enabled: true - -notary: - enabled: false diff --git a/projects/registry/values/trow.yaml b/projects/registry/values/trow.yaml new file mode 100644 index 00000000..361d6a85 --- /dev/null +++ b/projects/registry/values/trow.yaml @@ -0,0 +1,32 @@ +trow: + domain: reg.dc + validation: + enabled: false + allowDocker: false + allowKubernetes: true + proxyDockerHub: true + +service: + type: ClusterIP + port: 8000 + +ingress: + enabled: true + annotations: + cert-manager.io/cluster-issuer: vault-issuer + traefik.ingress.kubernetes.io/router.tls: 'true' + hosts: + - paths: ['/'] + host: reg.dc + tls: + - secretName: chart-example-tls + hosts: + - reg.dc + +resources: + limits: + cpu: 100m + memory: 128Mi + requests: + cpu: 100m + memory: 64Mi