File tree Expand file tree Collapse file tree 4 files changed +6
-10
lines changed
controlplane/eks/api/v1beta2 Expand file tree Collapse file tree 4 files changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -41,11 +41,10 @@ COPY ./ ./
41
41
ARG package=.
42
42
ARG ARCH
43
43
ARG LDFLAGS
44
- ARG GCFLAGS
45
44
RUN --mount=type=cache,target=/root/.cache/go-build \
46
45
--mount=type=cache,target=/go/pkg/mod \
47
46
--mount=type=cache,target=/root/.local/share/golang \
48
- CGO_ENABLED=0 GOOS=linux GOARCH=${ARCH} go build -gcflags "${GCFLAGS}" - ldflags "${LDFLAGS} -extldflags '-static'" -o manager ${package}
47
+ CGO_ENABLED=0 GOOS=linux GOARCH=${ARCH} go build -ldflags "${LDFLAGS} -extldflags '-static'" -o manager ${package}
49
48
ENTRYPOINT [ "/start.sh" , "/workspace/manager" ]
50
49
51
50
# Copy the controller-manager into a thin image
Original file line number Diff line number Diff line change @@ -137,9 +137,6 @@ RBAC_ROOT ?= $(MANIFEST_ROOT)/rbac
137
137
# Allow overriding the imagePullPolicy
138
138
PULL_POLICY ?= Always
139
139
140
- # Allow overriding the GCFLAGS
141
- GCFLAGS ?=
142
-
143
140
# Set build time variables including version details
144
141
LDFLAGS := $(shell source ./hack/version.sh; version::ldflags)
145
142
@@ -390,12 +387,12 @@ binaries: managers clusterawsadm ## Builds and installs all binaries
390
387
391
388
.PHONY : clusterawsadm
392
389
clusterawsadm : # # Build clusterawsadm binary
393
- go build -gcflags " $( GCFLAGS ) " - ldflags " $( LDFLAGS) " -o $(BIN_DIR ) /clusterawsadm ./cmd/clusterawsadm
390
+ go build -ldflags " $( LDFLAGS) " -o $(BIN_DIR ) /clusterawsadm ./cmd/clusterawsadm
394
391
395
392
396
393
.PHONY : docker-build
397
394
docker-build : docker-pull-prerequisites # # Build the docker image for controller-manager
398
- docker build --build-arg ARCH=$(ARCH ) --build-arg builder_image=$(GO_CONTAINER_IMAGE ) --build-arg GCFLAGS= " $( GCFLAGS ) " --build-arg LDFLAGS=" $( LDFLAGS) " . -t $(CORE_CONTROLLER_IMG ) -$(ARCH ) :$(TAG )
395
+ docker build --build-arg ARCH=$(ARCH ) --build-arg builder_image=$(GO_CONTAINER_IMAGE ) --build-arg LDFLAGS=" $( LDFLAGS) " . -t $(CORE_CONTROLLER_IMG ) -$(ARCH ) :$(TAG )
399
396
400
397
.PHONY : docker-build-all # # Build all the architecture docker images
401
398
docker-build-all : $(addprefix docker-build-,$(ALL_ARCH ) )
@@ -414,7 +411,7 @@ managers: ## Alias for manager-aws-infrastructure
414
411
415
412
.PHONY : manager-aws-infrastructure
416
413
manager-aws-infrastructure : # # Build manager binary
417
- CGO_ENABLED=0 GOARCH=${ARCH} go build -gcflags " ${GCFLAGS} " - ldflags " ${LDFLAGS} -extldflags '-static'" -o $(BIN_DIR ) /manager .
414
+ CGO_ENABLED=0 GOARCH=${ARCH} go build -ldflags " ${LDFLAGS} -extldflags '-static'" -o $(BIN_DIR ) /manager .
418
415
419
416
# #@ test:
420
417
Original file line number Diff line number Diff line change @@ -3025,7 +3025,7 @@ spec:
3025
3025
type : object
3026
3026
oidcIdentityProviderConfig :
3027
3027
description : |-
3028
- OIDCIdentityProviderConfig is used to specify the oidc provider config
3028
+ IdentityProviderconfig is used to specify the oidc provider config
3029
3029
to be attached with this eks cluster
3030
3030
properties :
3031
3031
clientId :
Original file line number Diff line number Diff line change @@ -187,7 +187,7 @@ type AWSManagedControlPlaneSpec struct { //nolint: maligned
187
187
// +optional
188
188
Addons * []Addon `json:"addons,omitempty"`
189
189
190
- // OIDCIdentityProviderConfig is used to specify the oidc provider config
190
+ // IdentityProviderconfig is used to specify the oidc provider config
191
191
// to be attached with this eks cluster
192
192
// +optional
193
193
OIDCIdentityProviderConfig * OIDCIdentityProviderConfig `json:"oidcIdentityProviderConfig,omitempty"`
You can’t perform that action at this time.
0 commit comments