diff --git a/README.md b/README.md index c692ab0..7d0e181 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,33 @@ # adamrushuk Helm Charts Repository Welcome to the adamrushuk Helm charts repository. All charts are in the charts directory. + +## Getting Started + +Use the commands below to add this repo and test the charts: + +### Sonatype Nexus + +```bash +# Add repo +helm repo add adamrushuk https://adamrushuk.github.io/charts +helm repo update +helm repo list + +# search +helm search repo adamrushuk +helm search repo adamrushuk/sonatype-nexus --versions + +# dry-run (published chart) +helm upgrade test-nexus adamrushuk/sonatype-nexus --install --atomic --namespace test-nexus --debug --dry-run + +# dry-run (local chart) +helm upgrade test-nexus ./ --install --atomic --namespace test-nexus --debug --dry-run + +# upgrade / install +kubectl create namespace test-nexus +helm upgrade test-nexus adamrushuk/sonatype-nexus --install --atomic --namespace test-nexus --debug + +# cleanup +kubectl delete namespace test-nexus +``` diff --git a/charts/sonatype-nexus/Chart.yaml b/charts/sonatype-nexus/Chart.yaml index 0a37416..cf348b1 100644 --- a/charts/sonatype-nexus/Chart.yaml +++ b/charts/sonatype-nexus/Chart.yaml @@ -3,7 +3,7 @@ name: sonatype-nexus description: Sonatype Nexus is an open source repository manager type: application # This is the chart version -version: 0.2.4 +version: 0.2.5 # This is the version number of the application being deployed appVersion: 3.27.0 keywords: diff --git a/charts/sonatype-nexus/templates/ingress.yaml b/charts/sonatype-nexus/templates/ingress.yaml index bf45fc6..5c6521e 100644 --- a/charts/sonatype-nexus/templates/ingress.yaml +++ b/charts/sonatype-nexus/templates/ingress.yaml @@ -13,7 +13,7 @@ metadata: {{- include "sonatype-nexus.labels" . | nindent 4 }} annotations: kubernetes.io/ingress.class: nginx - {{- if eq .Values.ingress.letsencryptEnvironment "production" }} + {{- if eq .Values.ingress.letsencryptEnvironment "prod" }} cert-manager.io/cluster-issuer: letsencrypt-prod {{- else }} cert-manager.io/cluster-issuer: letsencrypt-staging diff --git a/charts/sonatype-nexus/values.yaml b/charts/sonatype-nexus/values.yaml index c4c51aa..ed564e8 100644 --- a/charts/sonatype-nexus/values.yaml +++ b/charts/sonatype-nexus/values.yaml @@ -22,7 +22,7 @@ ingress: enabled: false # use "staging" environment during testing to avoid rate limiting # https://letsencrypt.org/docs/staging-environment/#rate-limits - # "staging" or "production" + # "staging" or "prod" letsencryptEnvironment: "staging" annotations: nginx.org/hsts: "false"