Skip to content

Commit

Permalink
Merge pull request #10 from adamrushuk/bump-chart
Browse files Browse the repository at this point in the history
Changed letsencryptEnvironment option to prod
  • Loading branch information
adamrushuk authored Sep 10, 2020
2 parents beb7806 + 0ba3a28 commit 83c0b4f
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 3 deletions.
30 changes: 30 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -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
```
2 changes: 1 addition & 1 deletion charts/sonatype-nexus/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion charts/sonatype-nexus/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion charts/sonatype-nexus/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 83c0b4f

Please sign in to comment.