File tree Expand file tree Collapse file tree 3 files changed +11
-6
lines changed
templates/config/manifests/bases Expand file tree Collapse file tree 3 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 1
1
# Base image to use at runtime
2
2
ARG base_image=public.ecr.aws/eks-distro-build-tooling/eks-distro-minimal-base-nonroot:2023-08-24-1692903666.2023
3
3
4
+ ARG target_arch=amd64
5
+
4
6
# Golang image to use for compiling the manager
5
7
ARG builder_image=public.ecr.aws/docker/library/golang
6
8
7
- # Version of Golang
9
+ # Version of Golang
8
10
ARG golang_version
9
11
10
12
# Build the manager binary
@@ -15,14 +17,13 @@ ARG service_alias
15
17
ARG service_controller_git_version
16
18
ARG service_controller_git_commit
17
19
ARG build_date
18
- ARG go_arch=amd64
19
20
# The directory within the builder container into which we will copy our
20
21
# service controller code.
21
22
ARG work_dir=/github.com/aws-controllers-k8s/$service_alias-controller
22
23
WORKDIR $work_dir
23
24
ENV GOPROXY=https://proxy.golang.org|direct
24
25
ENV GO111MODULE=on
25
- ENV GOARCH=$go_arch
26
+ ENV GOARCH=$target_arch
26
27
ENV GOOS=linux
27
28
ENV CGO_ENABLED=0
28
29
ENV VERSION_PKG=github.com/aws-controllers-k8s/$service_alias-controller/pkg/version
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ ARG base_image=public.ecr.aws/eks-distro-build-tooling/eks-distro-minimal-base-n
4
4
# Golang image to use for compiling the manager
5
5
ARG builder_image=public.ecr.aws/docker/library/golang
6
6
7
- # Version of Golang
7
+ # Version of Golang
8
8
ARG golang_version
9
9
10
10
# Build the manager binary
@@ -15,14 +15,14 @@ ARG service_alias
15
15
ARG service_controller_git_version
16
16
ARG service_controller_git_commit
17
17
ARG build_date
18
- ARG go_arch =amd64
18
+ ARG target_arch =amd64
19
19
# The directory within the builder container into which we will copy our
20
20
# service controller code.
21
21
ARG work_dir=/github.com/aws-controllers-k8s/$service_alias-controller
22
22
WORKDIR $work_dir
23
23
ENV GOPROXY=https://proxy.golang.org|direct
24
24
ENV GO111MODULE=on
25
- ENV GOARCH=$go_arch
25
+ ENV GOARCH=$target_arch
26
26
ENV GOOS=linux
27
27
ENV CGO_ENABLED=0
28
28
ENV VERSION_PKG=github.com/aws-controllers-k8s/$service_alias-controller/pkg/version
Original file line number Diff line number Diff line change @@ -12,6 +12,10 @@ metadata:
12
12
createdAt: { {.CreatedAt} }
13
13
support: { {.Annotations.Support} }
14
14
certified: { {.Annotations.IsCertified} }
15
+ labels:
16
+ operatorframework.io/os.linux: supported
17
+ operatorframework.io/arch.amd64: supported
18
+ operatorframework.io/arch.arm64: supported
15
19
name: ack-{ {.ServicePackageName } }-controller.v0.0.0
16
20
namespace: placeholder
17
21
spec:
You can’t perform that action at this time.
0 commit comments