Skip to content
This repository has been archived by the owner on Oct 10, 2023. It is now read-only.

TKR Status Controller: Cluster UpdatesAvailable #2223

Merged
merged 7 commits into from
Apr 29, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Rename controller/status to controller/tkr-status
Since BOLT takes the base of the filepath, it would create the
manifest with the name "status" which would confusing.

Signed-off-by: Ivan Mikushin <imikushin@vmware.com>
  • Loading branch information
Ivan Mikushin committed Apr 29, 2022
commit 719d417c570a4b6fb66f40c9edf6d4df5b160165
Original file line number Diff line number Diff line change
@@ -23,7 +23,7 @@ COPY ./ ./
# Build
ARG LD_FLAGS
ENV LD_FLAGS="$LD_FLAGS "'-extldflags "-static"'
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 GO111MODULE=on go build -a -ldflags "$LD_FLAGS" -o manager pkg/v2/tkr/controller/status/main.go
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 GO111MODULE=on go build -a -ldflags "$LD_FLAGS" -o manager pkg/v2/tkr/controller/tkr-status/main.go

# Use distroless as minimal base image to package the manager binary
# Refer to https://github.com/GoogleContainerTools/distroless for more details
Original file line number Diff line number Diff line change
@@ -35,7 +35,7 @@ vet:

.PHONY: docker-build
docker-build: ## Build docker image
cd ../../../../../ && docker build -t $(IMG) -f pkg/v2/tkr/controller/status/Dockerfile --build-arg LD_FLAGS="$(LD_FLAGS)" .
cd ../../../../../ && docker build -t $(IMG) -f pkg/v2/tkr/controller/tkr-status/Dockerfile --build-arg LD_FLAGS="$(LD_FLAGS)" .

.PHONY: docker-publish
docker-publish: ## Publish docker image
Original file line number Diff line number Diff line change
@@ -18,8 +18,8 @@ import (

runv1 "github.com/vmware-tanzu/tanzu-framework/apis/run/v1alpha3"
"github.com/vmware-tanzu/tanzu-framework/pkg/v1/buildinfo"
"github.com/vmware-tanzu/tanzu-framework/pkg/v2/tkr/controller/status/clusterstatus"
"github.com/vmware-tanzu/tanzu-framework/pkg/v2/tkr/controller/status/tkr"
"github.com/vmware-tanzu/tanzu-framework/pkg/v2/tkr/controller/tkr-status/clusterstatus"
"github.com/vmware-tanzu/tanzu-framework/pkg/v2/tkr/controller/tkr-status/tkr"
"github.com/vmware-tanzu/tanzu-framework/pkg/v2/tkr/resolver"
)