Skip to content

Commit

Permalink
Merge pull request #1 from WyriHaximusNet/redirect/documentation
Browse files Browse the repository at this point in the history
Minor documentation improvements
  • Loading branch information
WyriHaximus authored Apr 8, 2020
2 parents 12d718c + 38c3c2f commit 63d1427
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
6 changes: 5 additions & 1 deletion charts/redirect/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
apiVersion: v2
name: redirect
description: Redirect Delpoyment
home: https://github.com/wyrihaximusnet/docker-redirect

# A chart can be either an 'application' or a 'library' chart.
#
Expand All @@ -14,8 +15,11 @@ type: application

# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: 0.0.1
version: 0.0.2

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
appVersion: random

maintainers:
- name: WyriHaximus
4 changes: 2 additions & 2 deletions charts/redirect/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,12 @@ spec:
path: /ping
port: http-metrics
volumeMounts:
- name: {{ include ".helm.fullname" . }}-configmap-volume
- name: {{ include ".helm.fullname" . }}-volume
mountPath: /etc/redirect/
resources:
{{- toYaml .Values.resources | nindent 12 }}
volumes:
- name: {{ include ".helm.fullname" . }}-configmap-volume
- name: {{ include ".helm.fullname" . }}-volume
configMap:
name: {{ include ".helm.fullname" . }}
{{- with .Values.nodeSelector }}
Expand Down
7 changes: 5 additions & 2 deletions charts/redirect/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# Declare variables to be passed into your templates.

# Redirect Application Configuration
# Detailed description of all options: https://github.com/wyrihaximusnet/docker-redirect#configuration
redirect:
# The default fallback is use in case the application can't find a domain to redirect to within the other configuration options
defaultFallbackTarget: https://wyrihaximus.net/
Expand All @@ -13,9 +14,10 @@ redirect:
ingressHosts: []
# For example we're could be redirecting from wyrihaximus.net to www.wyrihaximus.net so we need the wyrihaximus.net ingress host defined here
# - wyrihaximus.net

replicaCount: 2

# Available tags: https://github.com/wyrihaximusnet/docker-redirect#provided-tags
image:
repository: wyrihaximusnet/redirect
tag: random
Expand Down Expand Up @@ -61,7 +63,8 @@ resources:
cpu: 10m
memory: 16Mi

nodeSelector: {} ## WE should set this to always run on two different nodes
## WE should set this to always run on two different nodes
nodeSelector: {}

tolerations: []

Expand Down

0 comments on commit 63d1427

Please sign in to comment.