Skip to content

Commit

Permalink
Use correct Ingress apiVersion (stakater#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshbranham authored Apr 2, 2022
1 parent 5adef7d commit 39cc2e9
Show file tree
Hide file tree
Showing 9 changed files with 34 additions and 29 deletions.
2 changes: 1 addition & 1 deletion .VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version: v0.2.79
version: v0.2.80
4 changes: 2 additions & 2 deletions deployments/kubernetes/chart/gitwebhookproxy/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
apiVersion: v1
name: gitwebhookproxy
description: GitWebhookProxy chart that runs on kubernetes
version: v0.2.79
version: v0.2.80
keywords:
- GitWebhookProxy
- kubernetes
home: https://github.com/stakater/GitWebhookProxy
maintainers:
- name: Stakater
email: [email protected]
email: [email protected]
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{- if .Values.gitWebhookProxy.ingress.enabled }}
apiVersion: extensions/v1beta1
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
{{- if .Values.gitWebhookProxy.ingress.annotations }}
Expand All @@ -19,13 +19,18 @@ spec:
- host: {{ .Values.gitWebhookProxy.ingress.host }}
http:
paths:
- backend:
- pathType: ImplementationSpecific
backend:
{{- if .Values.gitWebhookProxy.useCustomName }}
serviceName: {{ .Values.gitWebhookProxy.customName }}
service:
name: {{ .Values.gitWebhookProxy.customName }}
port:
number: {{ .Values.gitWebhookProxy.servicePort }}
{{- else }}
serviceName: {{ template "gitwebhookproxy.name" . }}
{{- end }}
servicePort: 80
service:
name: {{ template "gitwebhookproxy.name" . }}
port:
number: {{ .Values.gitWebhookProxy.servicePort }}
tls:
- hosts:
- {{ .Values.gitWebhookProxy.ingress.host }}
Expand Down
4 changes: 2 additions & 2 deletions deployments/kubernetes/chart/gitwebhookproxy/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ gitWebhookProxy:
labels:
provider: stakater
group: com.stakater.platform
version: v0.2.79
version: v0.2.80
image:
name: stakater/gitwebhookproxy
tag: "v0.2.79"
tag: "v0.2.80"
pullPolicy: IfNotPresent
config:
provider: github
Expand Down
18 changes: 9 additions & 9 deletions deployments/kubernetes/gitwebhookproxy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ metadata:
app: gitwebhookproxy
group: com.stakater.platform
provider: stakater
version: v0.2.79
chart: "gitwebhookproxy-v0.2.79"
version: v0.2.80
chart: "gitwebhookproxy-v0.2.80"
release: "gitwebhookproxy"
heritage: "Tiller"
name: gitwebhookproxy
Expand All @@ -30,8 +30,8 @@ metadata:
app: gitwebhookproxy
group: com.stakater.platform
provider: stakater
version: v0.2.79
chart: "gitwebhookproxy-v0.2.79"
version: v0.2.80
chart: "gitwebhookproxy-v0.2.80"
release: "gitwebhookproxy"
heritage: "Tiller"
annotations:
Expand Down Expand Up @@ -93,7 +93,7 @@ spec:
secretKeyRef:
key: secret
name: gitwebhookproxy
image: "stakater/gitwebhookproxy:v0.2.79"
image: "stakater/gitwebhookproxy:v0.2.80"
imagePullPolicy: IfNotPresent
securityContext:
allowPrivilegeEscalation: false
Expand Down Expand Up @@ -135,8 +135,8 @@ metadata:
app: gitwebhookproxy
group: com.stakater.platform
provider: stakater
version: v0.2.79
chart: "gitwebhookproxy-v0.2.79"
version: v0.2.80
chart: "gitwebhookproxy-v0.2.80"
release: "gitwebhookproxy"
heritage: "Tiller"
name: gitwebhookproxy
Expand All @@ -152,8 +152,8 @@ metadata:
app: gitwebhookproxy
group: com.stakater.platform
provider: stakater
version: v0.2.79
chart: "gitwebhookproxy-v0.2.79"
version: v0.2.80
chart: "gitwebhookproxy-v0.2.80"
release: "gitwebhookproxy"
heritage: "Tiller"
expose: "true"
Expand Down
4 changes: 2 additions & 2 deletions deployments/kubernetes/manifests/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ metadata:
app: gitwebhookproxy
group: com.stakater.platform
provider: stakater
version: v0.2.79
chart: "gitwebhookproxy-v0.2.79"
version: v0.2.80
chart: "gitwebhookproxy-v0.2.80"
release: "gitwebhookproxy"
heritage: "Tiller"
name: gitwebhookproxy
Expand Down
6 changes: 3 additions & 3 deletions deployments/kubernetes/manifests/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ metadata:
app: gitwebhookproxy
group: com.stakater.platform
provider: stakater
version: v0.2.79
chart: "gitwebhookproxy-v0.2.79"
version: v0.2.80
chart: "gitwebhookproxy-v0.2.80"
release: "gitwebhookproxy"
heritage: "Tiller"
annotations:
Expand Down Expand Up @@ -70,7 +70,7 @@ spec:
secretKeyRef:
key: secret
name: gitwebhookproxy
image: "stakater/gitwebhookproxy:v0.2.79"
image: "stakater/gitwebhookproxy:v0.2.80"
imagePullPolicy: IfNotPresent
securityContext:
allowPrivilegeEscalation: false
Expand Down
4 changes: 2 additions & 2 deletions deployments/kubernetes/manifests/secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ metadata:
app: gitwebhookproxy
group: com.stakater.platform
provider: stakater
version: v0.2.79
chart: "gitwebhookproxy-v0.2.79"
version: v0.2.80
chart: "gitwebhookproxy-v0.2.80"
release: "gitwebhookproxy"
heritage: "Tiller"
name: gitwebhookproxy
Expand Down
4 changes: 2 additions & 2 deletions deployments/kubernetes/manifests/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ metadata:
app: gitwebhookproxy
group: com.stakater.platform
provider: stakater
version: v0.2.79
chart: "gitwebhookproxy-v0.2.79"
version: v0.2.80
chart: "gitwebhookproxy-v0.2.80"
release: "gitwebhookproxy"
heritage: "Tiller"
expose: "true"
Expand Down

0 comments on commit 39cc2e9

Please sign in to comment.