Skip to content

Commit

Permalink
Merge pull request #316 from kris-nova/byo-ingress
Browse files Browse the repository at this point in the history
feat(ingress) Experimental Native Ingress
  • Loading branch information
mboersma authored Mar 30, 2017
2 parents e16e7d8 + 018e469 commit b8e207e
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 0 deletions.
2 changes: 2 additions & 0 deletions charts/router/templates/router-deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if not .Values.global.experimental_native_ingress }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
Expand Down Expand Up @@ -88,3 +89,4 @@ spec:
port: 9090
initialDelaySeconds: 1
timeoutSeconds: 1
{{ end }}{{/* if not .Values.global.experimental_native_ingress */}}
2 changes: 2 additions & 0 deletions charts/router/templates/router-dhparam-secret.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if not .Values.global.experimental_native_ingress }}
apiVersion: v1
kind: Secret
metadata:
Expand All @@ -7,3 +8,4 @@ metadata:
type: Opaque
data:
dhparam: {{ if not (empty .Values.dhparam) }}{{ .Values.dhparam | b64enc}}{{ else }}LS0tLS1CRUdJTiBESCBQQVJBTUVURVJTLS0tLS0KTUlJQkNBS0NBUUVBNGJPMlpCOTRYVVh3YjlSL0QxM0xFZ2d6V1U2Y0hZSXJzakdseVhUSkZHZmdsaFl5TUtnUQpKRXFsTjd5RWs0UUNVV25iTEtDU2F4anZCTVNqbWlTR3VvajNWRDlYRTVDaGx2SzlGQVp6alFGMFZ2VzdkNDJmCnNkNmlmcUYwSUV0R2lxWDRpTzhtWmhYZVJrc3BYekZXYkhyTklaanBCdmc5VDhmczY0ZCtDU2l2SXBqWWRVQ1UKQWRhNTViRDdLeWJkTWdJMFZza21jL3RpclN5SkIwZDVmUnYraG1vMW9pOG92Rm9vUFp2cS9HWGxPOHlRRzRZTgppWXdWYmU5c29wQ3lYNzEzaUtlM0pBQ29JWnUxZXgrRjVhbU53U3E3Rk9xb2JqK3Z2cURRM0Q2WEJaanczT3NuClFRWmVhTWYyMDVwOERWbFpWLzRqQUtQeEpUQkxyejh6c3dJQkFnPT0KLS0tLS1FTkQgREggUEFSQU1FVEVSUy0tLS0tCg=={{ end }}
{{ end }}{{/* if not .Values.global.experimental_native_ingress */}}
2 changes: 2 additions & 0 deletions charts/router/templates/router-service-account.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{{- if not .Values.global.experimental_native_ingress }}
apiVersion: v1
kind: ServiceAccount
metadata:
name: deis-router
labels:
heritage: deis
{{ end }}{{/* if not .Values.global.experimental_native_ingress */}}
2 changes: 2 additions & 0 deletions charts/router/templates/router-service.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if not .Values.global.experimental_native_ingress }}
apiVersion: v1
kind: Service
metadata:
Expand Down Expand Up @@ -26,3 +27,4 @@ spec:
- name: healthz
port: 9090
targetPort: 9090
{{ end }}{{/* if not .Values.global.experimental_native_ingress */}}
8 changes: 8 additions & 0 deletions charts/router/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,11 @@ host_port:

# Service type default to LoadBalancer
# service_type: LoadBalancer

global:
# Experimental feature to toggle using kubernetes ingress instead of the Deis router.
#
# Valid values are:
# - true: The Deis router will NOT be deployed. Inherently workflow will not be usable until a Kubernetes ingress controller is installed.
# - false: The default mode, and the default behavior of Deis workflow.
experimental_native_ingress: false

0 comments on commit b8e207e

Please sign in to comment.