Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
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
19 changes: 2 additions & 17 deletions OWNERS
Original file line number Diff line number Diff line change
@@ -1,22 +1,7 @@
# See the OWNERS docs: <https://git.k8s.io/community/contributors/guide/owners.md>

approvers:
- sig-cluster-lifecycle-leads
- cluster-api-aws-admins
- cluster-api-aws-maintainers
- capi-admins

reviewers:
- cluster-api-aws-admins
- cluster-api-aws-maintainers
- cluster-api-aws-reviewers

emeritus_approvers:
- AverageMarcus
- chuckha
- detiber
- ncdc
- randomvariable
- rudoi
- sedefsavas
- Skarlso
- vincepri
- capi-admins
24 changes: 5 additions & 19 deletions OWNERS_ALIASES
Original file line number Diff line number Diff line change
@@ -1,22 +1,8 @@
# See the OWNERS docs: <https://github.com/kubernetes/community/blob/master/contributors/guide/owners.md>

aliases:
sig-cluster-lifecycle-leads:
- fabriziopandini
- justinsb
- neolit123
- vincepri
cluster-api-aws-admins:
- richardcase
cluster-api-aws-maintainers:
- richardcase
- Ankitasw
- dlipovetsky
- nrb
- AndiDog
cluster-api-aws-reviewers:
- luthermonson
- cnmcavoy
- faiq
- fiunchinho
- damdo
capi-admin:
- serngawy
- marek-veber
- mzazrivec
- RadekCap
30 changes: 30 additions & 0 deletions stolostron/Dockerfile.stolostron
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
FROM registry.access.redhat.com/ubi8/go-toolset:1.24.6-1755529056 AS toolchain

# Run this with docker build --build_arg $(go env GOPROXY) to override the goproxy
ARG goproxy=https://proxy.golang.org
ENV GOPROXY=$goproxy

FROM toolchain AS builder

ENV GOPATH=/opt/app-root/src/go
ENV GOFLAGS="-buildvcs=false"

COPY . .

# Cache deps before building and copying source so that we don't need to re-download as much
# and so that source changes don't invalidate our downloaded layer
RUN --mount=type=cache,target=/root/.local/share/golang \
--mount=type=cache,target=/go/pkg/mod \
go mod download

# Build
ARG package=.
RUN --mount=type=cache,target=/root/.cache/go-build \
--mount=type=cache,target=/go/pkg/mod \
--mount=type=cache,target=/root/.local/share/golang \
CGO_ENABLED=0 GOOS=linux GOARCH=${ARCH} go build -ldflags "-extldflags '-static'" -o manager ${package}

# Copy the controller-manager into a thin image
FROM registry.access.redhat.com/ubi9/ubi:9.6-1754380668
COPY --from=builder /opt/app-root/src/manager /bin/cluster-api-provider-aws-controller-manager
ENTRYPOINT ["/bin/cluster-api-provider-aws-controller-manager"]
8 changes: 8 additions & 0 deletions stolostron/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
IMG_REG ?= registry.redhat.io
IMG_REPO ?= multicluster
IMG_NAME ?= cluster-api-provider-aws-rhel9
IMG_TAG ?= latest
IMG ?= ${IMG_REG}/${IMG_REPO}/${IMG_NAME}:${IMG_TAG}

docker-build:
docker build -f Dockerfile.stolostron ../ -t ${IMG}