Skip to content

Commit

Permalink
fix: missing templates in dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
toms-place committed Jun 5, 2023
1 parent 340cf30 commit c3783a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ RUN go mod download
COPY main.go main.go
COPY api/ api/
COPY controllers/ controllers/
COPY templates/ templates/

# Build
# the GOARCH has not a default value to allow the binary be built according to the host where the command
Expand Down
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ func main() {
options := ctrl.Options{Scheme: scheme}

options.LeaderElection = true
options.LeaderElectionID = "execdat-operator-leader-election-id"
options.MetricsBindAddress = ":8080"
options.LeaderElectionID = "operator-leader-election-id.execd.at"
options.HealthProbeBindAddress = ":8081"
options.MetricsBindAddress = "127.0.0.1:8080"
//options.WebhookServer = TODO

mgr, err := ctrl.NewManager(ctrl.GetConfigOrDie(), options)
Expand Down

0 comments on commit c3783a2

Please sign in to comment.