From 2fa2ca777e036112c2f9c3ccd123d720f6001847 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Ren=C3=A9=20H=C3=B8egh?= Date: Fri, 9 Mar 2018 10:39:10 +0100 Subject: [PATCH] Added ingress hosts example for Artifactory chart (#3806) * Added ingress hosts example for Artifactory chart ingress.hosts being an array, it makes sense to show how to set the value of it. * Incremended chart version * Bumped Chart version --- stable/artifactory/Chart.yaml | 2 +- stable/artifactory/README.md | 10 +++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/stable/artifactory/Chart.yaml b/stable/artifactory/Chart.yaml index 97ac079148..f5752f7bde 100644 --- a/stable/artifactory/Chart.yaml +++ b/stable/artifactory/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 name: artifactory home: https://www.jfrog.com/artifactory/ -version: 7.0.3 +version: 7.0.4 appVersion: 5.8.4 description: Universal Repository Manager supporting all major packaging formats, build tools and CI servers. diff --git a/stable/artifactory/README.md b/stable/artifactory/README.md index 24d8b5d2fe..6540243a17 100644 --- a/stable/artifactory/README.md +++ b/stable/artifactory/README.md @@ -60,6 +60,7 @@ $ helm install --name artifactory \ ``` Get more details on configuring Artifactory in the [official documentation](https://www.jfrog.com/confluence/). + ### Customizing Database password You can override the specified database password (set in [values.yaml](values.yaml)), by passing it as a parameter in the install command line ```bash @@ -144,7 +145,14 @@ The following tables lists the configurable parameters of the artifactory chart Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. -### Ingress TLS +### Ingress and TLS +To get Helm to create an ingress object with a hostname, add these two lines to your Helm command: +``` +helm install --name artifactory \ + --set ingress.enabled=true \ + --set ingress.hosts[0]="artifactory.company.com" \ +``` + If your cluster allows automatic creation/retrieval of TLS certificates (e.g. [kube-lego](https://github.com/jetstack/kube-lego)), please refer to the documentation for that mechanism. To manually configure TLS, first create/retrieve a key & certificate pair for the address(es) you wish to protect. Then create a TLS secret in the namespace: