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:
@@ -1,5 +1,5 @@
|
||||
# Build the manager binary
|
||||
FROM golang:1.21 AS builder
|
||||
FROM golang:1.22 AS builder
|
||||
ARG TARGETOS
|
||||
ARG TARGETARCH
|
||||
|
||||
@@ -15,6 +15,8 @@ RUN go mod download
|
||||
COPY cmd/main.go cmd/main.go
|
||||
COPY api/ api/
|
||||
COPY internal/controller/ internal/controller/
|
||||
COPY internal/config/ internal/config/
|
||||
COPY internal/elasticmq/ internal/elasticmq/
|
||||
|
||||
# Build
|
||||
# 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
|
||||
|
||||
patches:
|
||||
# [DISABLED] kube-rbac-proxy недоступен через gcr.io в этом кластере
|
||||
# Protect the /metrics endpoint by putting it behind auth.
|
||||
# If you want your controller-manager to expose the /metrics
|
||||
# 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
|
||||
# crd/kustomization.yaml
|
||||
|
||||
@@ -4,6 +4,10 @@ metadata:
|
||||
labels:
|
||||
app.kubernetes.io/name: sqs-operator
|
||||
app.kubernetes.io/managed-by: kustomize
|
||||
name: queueservice-sample
|
||||
name: test-tenant-001
|
||||
namespace: sqs-operator-system
|
||||
spec:
|
||||
# TODO(user): Add fields here
|
||||
tenantId: "test001"
|
||||
memoryMB: 64
|
||||
storageMB: 512
|
||||
persistence: true
|
||||
|
||||
Reference in New Issue
Block a user