forked from mpolden/echoip
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Will require a 0.1.2 release
- Loading branch information
Showing
17 changed files
with
223 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
apiVersion: v1 | ||
appVersion: "0.1.0" | ||
appVersion: "0.1.2" | ||
description: Helm chart to deploy ipd2 | ||
name: ipd2 | ||
version: 0.1.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# ipd2 Helm Chart | ||
|
||
words words words words words | ||
|
||
## Pre-requisites | ||
|
||
For `HTTP/2` mode to work, you'll need to provide the chart a TLS certificate/key, you might want to use [cert-manager](https://github.com/jetstack/cert-manager/) to help with this. | ||
|
||
You will then need to enable both the `https` service *AND* `https` ingress, since the secret is defined at the ingress level. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
apiVersion: certmanager.k8s.io/v1alpha1 | ||
kind: Certificate | ||
metadata: | ||
name: websites-tls | ||
namespace: website | ||
spec: | ||
secretName: websites-tls | ||
issuerRef: | ||
name: letsencrypt-prod | ||
kind: ClusterIssuer | ||
commonName: 'laccetti.com' | ||
dnsNames: | ||
- laccetti.ca | ||
- www.laccetti.ca | ||
- laccetti.com | ||
- www.laccetti.com | ||
- jesslaccetti.ca | ||
- jesslaccetti.com | ||
- jesslaccetti.co.uk | ||
- lobita.ca | ||
- www.jesslaccetti.ca | ||
- www.jesslaccetti.com | ||
- www.jesslaccetti.co.uk | ||
- www.lobita.ca | ||
acme: | ||
config: | ||
- dns01: | ||
provider: letsencrypt-prod | ||
domains: | ||
- laccetti.ca | ||
- www.laccetti.ca | ||
- laccetti.com | ||
- www.laccetti.com | ||
- jesslaccetti.ca | ||
- jesslaccetti.com | ||
- jesslaccetti.co.uk | ||
- lobita.ca | ||
- www.jesslaccetti.ca | ||
- www.jesslaccetti.com | ||
- www.jesslaccetti.co.uk | ||
- www.lobita.ca |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{{- if .Values.ingress.http.enabled -}} | ||
{{- $fullName := include "ipd2.fullname" . -}} | ||
{{- $ingressPath := .Values.ingress.path -}} | ||
apiVersion: extensions/v1beta1 | ||
kind: Ingress | ||
metadata: | ||
name: {{ $fullName }}-http | ||
labels: | ||
app: {{ template "ipd2.name" . }} | ||
chart: {{ template "ipd2.chart" . }} | ||
release: {{ .Release.Name }} | ||
heritage: {{ .Release.Service }} | ||
{{- with .Values.ingress.http.annotations }} | ||
annotations: | ||
{{ toYaml . | indent 4 }} | ||
{{- end }} | ||
spec: | ||
rules: | ||
{{- range .Values.ingress.hosts }} | ||
- host: {{ . }} | ||
http: | ||
paths: | ||
- path: {{ $ingressPath }} | ||
backend: | ||
serviceName: {{ $fullName }}-http | ||
servicePort: http | ||
{{- end }} | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
helm-chart/templates/service.yaml → ipd2/templates/service-http.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{{- if .Values.service.https.enabled -}} | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: {{ template "ipd2.fullname" . }}-https | ||
labels: | ||
app: {{ template "ipd2.name" . }} | ||
chart: {{ template "ipd2.chart" . }} | ||
release: {{ .Release.Name }} | ||
heritage: {{ .Release.Service }} | ||
spec: | ||
type: {{ .Values.service.https.type }} | ||
ports: | ||
- port: {{ .Values.service.https.port }} | ||
targetPort: http | ||
protocol: TCP | ||
name: http | ||
selector: | ||
app: {{ template "ipd2.name" . }} | ||
release: {{ .Release.Name }} | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
service: | ||
https: | ||
enabled: true | ||
|
||
ingress: | ||
hosts: | ||
- ifconfig2.ca | ||
- ifconfig2.co | ||
- ifconfig2.com | ||
path: / | ||
http: | ||
enabled: true | ||
https: | ||
enabled: true | ||
annotations: | ||
kubernetes.io/tls-acme: "true" | ||
tls: | ||
secretName: ifconfig-tls | ||
|
||
resources: | ||
limits: | ||
cpu: 100m | ||
memory: 128Mi | ||
requests: | ||
cpu: 100m | ||
memory: 128Mi | ||
|
||
nodeSelector: {} | ||
|
||
tolerations: [] | ||
|
||
affinity: {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
replicaCount: 1 | ||
|
||
image: | ||
repository: mlaccetti/ipd2 | ||
tag: 0.1.2 | ||
pullPolicy: IfNotPresent | ||
|
||
service: | ||
http: | ||
type: ClusterIP | ||
port: 80 | ||
https: | ||
enabled: false | ||
type: ClusterIP | ||
port: 443 | ||
|
||
ingress: | ||
hosts: | ||
- chart-example.local | ||
path: / | ||
http: | ||
enabled: false | ||
annotations: {} | ||
# kubernetes.io/ingress.class: nginx | ||
https: | ||
enabled: false | ||
annotations: {} | ||
# kubernetes.io/ingress.class: nginx | ||
tls: | ||
secretName: chart-example-tls | ||
|
||
resources: {} | ||
# limits: | ||
# cpu: 100m | ||
# memory: 128Mi | ||
# requests: | ||
# cpu: 100m | ||
# memory: 128Mi | ||
|
||
nodeSelector: {} | ||
|
||
tolerations: [] | ||
|
||
affinity: {} |