File tree Expand file tree Collapse file tree 4 files changed +8
-4
lines changed Expand file tree Collapse file tree 4 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 1- VERSION =v0.0.352
1+ VERSION =v0.0.353
22
33OUT_DIR =dist
44YEAR? =$(shell date +"% Y")
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ cf version
2323
2424``` bash
2525# download and extract the binary
26- curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.0.352 /cf-linux-amd64.tar.gz | tar zx
26+ curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.0.353 /cf-linux-amd64.tar.gz | tar zx
2727
2828# move the binary to your $PATH
2929mv ./cf-linux-amd64 /usr/local/bin/cf
@@ -36,7 +36,7 @@ cf version
3636
3737``` bash
3838# download and extract the binary
39- curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.0.352 /cf-darwin-amd64.tar.gz | tar zx
39+ curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.0.353 /cf-darwin-amd64.tar.gz | tar zx
4040
4141# move the binary to your $PATH
4242mv ./cf-darwin-amd64 /usr/local/bin/cf
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ metadata:
55 namespace : " {{ namespace }}"
66spec :
77 defVersion : 1.0.1
8- version : 0.0.352
8+ version : 0.0.353
99 bootstrapSpecifier : github.com/codefresh-io/cli-v2/manifests/argo-cd
1010 components :
1111 - name : events
Original file line number Diff line number Diff line change 1515package util
1616
1717import (
18+ "strings"
19+
1820 netv1 "k8s.io/api/networking/v1"
1921 metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
2022)
@@ -122,6 +124,8 @@ func createHTTPIngressPaths(paths []IngressPath) []netv1.HTTPIngressPath {
122124}
123125
124126func CreateIngress (opts * CreateIngressOptions ) * netv1.Ingress {
127+ opts .Name = strings .TrimSuffix (opts .Name , "/" )
128+
125129 ingress := & netv1.Ingress {
126130 TypeMeta : metav1.TypeMeta {
127131 APIVersion : netv1 .SchemeGroupVersion .String (),
You can’t perform that action at this time.
0 commit comments