Skip to content

Commit

Permalink
K8s 1.9 API bump: hub/proxy/autoproxy deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
consideRatio committed Sep 8, 2018
1 parent bf5bcf3 commit 05b4e8c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion jupyterhub/templates/_helpers.tpl
Expand Up @@ -55,7 +55,7 @@
## Example usage
```yaml
# Excerpt from proxy/autohttps/deployment.yaml
apiVersion: apps/v1beta2
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "jupyterhub.nameField" . }}
Expand Down
2 changes: 1 addition & 1 deletion jupyterhub/templates/hub/deployment.yaml
@@ -1,4 +1,4 @@
apiVersion: apps/v1beta2
apiVersion: apps/v1
kind: Deployment
metadata:
name: hub
Expand Down
2 changes: 1 addition & 1 deletion jupyterhub/templates/proxy/autohttps/deployment.yaml
@@ -1,7 +1,7 @@
{{- $HTTPS := (and .Values.proxy.https.hosts .Values.proxy.https.enabled) }}
{{- $autoHTTPS := (and $HTTPS (eq .Values.proxy.https.type "letsencrypt")) }}
{{- if $autoHTTPS -}}
apiVersion: apps/v1beta2
apiVersion: apps/v1
kind: Deployment
metadata:
name: autohttps
Expand Down
2 changes: 1 addition & 1 deletion jupyterhub/templates/proxy/deployment.yaml
@@ -1,6 +1,6 @@
{{- $manualHTTPS := (and .Values.proxy.https.enabled (eq .Values.proxy.https.type "manual")) -}}
{{- $manualHTTPSwithsecret := (and .Values.proxy.https.enabled (eq .Values.proxy.https.type "secret")) -}}
apiVersion: apps/v1beta2
apiVersion: apps/v1
kind: Deployment
metadata:
name: proxy
Expand Down

0 comments on commit 05b4e8c

Please sign in to comment.