Skip to content

Commit da7e62a

Browse files
committed
chore: setup project
Signed-off-by: Brad McCoy <[email protected]>
1 parent 861ec35 commit da7e62a

File tree

18 files changed

+22
-172
lines changed

18 files changed

+22
-172
lines changed

.github/workflows/build_container.yaml

Lines changed: 0 additions & 147 deletions
This file was deleted.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,4 @@
1919

2020
# Go workspace file
2121
go.work
22+
bin/*

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ test:
2121

2222
build:
2323
GIT_COMMIT=$$(git rev-list -1 HEAD) && CGO_ENABLED=0 go build -ldflags "-s -w -X github.com/bradmccoydev/cdevents-controller/pkg/version.REVISION=$(GIT_COMMIT)" -a -o ./bin/cdevents-controller ./cmd/cdevents-controller/*
24-
GIT_COMMIT=$$(git rev-list -1 HEAD) && CGO_ENABLED=0 go build -ldflags "-s -w -X github.com/bradmccoydev/cdevents-controller/pkg/version.REVISION=$(GIT_COMMIT)" -a -o ./bin/podcli ./cmd/podcli/*
24+
GIT_COMMIT=$$(git rev-list -1 HEAD) && CGO_ENABLED=0 go build -ldflags "-s -w -X github.com/bradmccoydev/cdevents-controller/pkg/version.REVISION=$(GIT_COMMIT)" -a -o ./bin/cdeventscli ./cmd/cdeventscli/*
2525

2626
tidy:
2727
rm -f go.sum; go mod tidy -compat=1.19

charts/cdevents-github-controller/templates/deployment.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ spec:
133133
startupProbe:
134134
exec:
135135
command:
136-
- podcli
136+
- cdeventscli
137137
- check
138138
- http
139139
- localhost:{{ .Values.service.httpPort | default 9898 }}/healthz
@@ -148,7 +148,7 @@ spec:
148148
livenessProbe:
149149
exec:
150150
command:
151-
- podcli
151+
- cdeventscli
152152
- check
153153
- http
154154
- localhost:{{ .Values.service.httpPort | default 9898 }}/healthz
@@ -162,7 +162,7 @@ spec:
162162
readinessProbe:
163163
exec:
164164
command:
165-
- podcli
165+
- cdeventscli
166166
- check
167167
- http
168168
- localhost:{{ .Values.service.httpPort | default 9898 }}/readyz

charts/cdevents-github-controller/values.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,10 +117,6 @@ ingress:
117117
# hosts:
118118
# - chart-example.local
119119

120-
linkerd:
121-
profile:
122-
enabled: false
123-
124120
# create Prometheus Operator monitor
125121
serviceMonitor:
126122
enabled: false
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
)
1212

1313
var rootCmd = &cobra.Command{
14-
Use: "podcli",
14+
Use: "cdeventscli",
1515
Short: "cdevents-controller command line",
1616
Long: `
1717
cdevents-controller command line utilities`,
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ func init() {
1313

1414
var versionCmd = &cobra.Command{
1515
Use: `version`,
16-
Short: "Prints podcli version",
16+
Short: "Prints cdeventscli version",
1717
RunE: func(cmd *cobra.Command, args []string) error {
1818
fmt.Println(version.VERSION)
1919
return nil
File renamed without changes.

0 commit comments

Comments
 (0)