feat(sqs-operator): v0.1.0 deployed and tested

- Fix Dockerfile: COPY internal/config/ and internal/elasticmq/, Go 1.22
- config/manager/manager.yaml: add SQS_EXTERNAL_HOST env, imagePullSecrets
- config/default/kustomization.yaml: disable kube-rbac-proxy (gcr.io N/A)
- config/samples/sqs_v1alpha1_queueservice.yaml: real test CR (test001)
- doc/progress.md: updated with deployment results

Smoke test: QueueService test-tenant-001 Phase=Ready in 27s
ElasticMQ pod 1/1 Running in sless-fn-test001
SQS CreateQueue via https://sqs.kube5s.ru/sqs/test001 OK
This commit is contained in:
Naeel
2026-04-07 14:43:41 +03:00
parent 52e9511d50
commit f8be5c8af1
3 changed files with 11 additions and 4 deletions
+3 -1
View File
@@ -1,5 +1,5 @@
# Build the manager binary # Build the manager binary
FROM golang:1.21 AS builder FROM golang:1.22 AS builder
ARG TARGETOS ARG TARGETOS
ARG TARGETARCH ARG TARGETARCH
@@ -15,6 +15,8 @@ RUN go mod download
COPY cmd/main.go cmd/main.go COPY cmd/main.go cmd/main.go
COPY api/ api/ COPY api/ api/
COPY internal/controller/ internal/controller/ COPY internal/controller/ internal/controller/
COPY internal/config/ internal/config/
COPY internal/elasticmq/ internal/elasticmq/
# Build # Build
# the GOARCH has not a default value to allow the binary be built according to the host where the command # the GOARCH has not a default value to allow the binary be built according to the host where the command
@@ -27,10 +27,11 @@ resources:
#- ../prometheus #- ../prometheus
patches: patches:
# [DISABLED] kube-rbac-proxy недоступен через gcr.io в этом кластере
# Protect the /metrics endpoint by putting it behind auth. # Protect the /metrics endpoint by putting it behind auth.
# If you want your controller-manager to expose the /metrics # If you want your controller-manager to expose the /metrics
# endpoint w/o any authn/z, please comment the following line. # endpoint w/o any authn/z, please comment the following line.
- path: manager_auth_proxy_patch.yaml #- path: manager_auth_proxy_patch.yaml
# [WEBHOOK] To enable webhook, uncomment all the sections with [WEBHOOK] prefix including the one in # [WEBHOOK] To enable webhook, uncomment all the sections with [WEBHOOK] prefix including the one in
# crd/kustomization.yaml # crd/kustomization.yaml
@@ -4,6 +4,10 @@ metadata:
labels: labels:
app.kubernetes.io/name: sqs-operator app.kubernetes.io/name: sqs-operator
app.kubernetes.io/managed-by: kustomize app.kubernetes.io/managed-by: kustomize
name: queueservice-sample name: test-tenant-001
namespace: sqs-operator-system
spec: spec:
# TODO(user): Add fields here tenantId: "test001"
memoryMB: 64
storageMB: 512
persistence: true