diff --git a/sqs-operator/Dockerfile b/sqs-operator/Dockerfile index aca26f9..fb7383f 100644 --- a/sqs-operator/Dockerfile +++ b/sqs-operator/Dockerfile @@ -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 diff --git a/sqs-operator/config/default/kustomization.yaml b/sqs-operator/config/default/kustomization.yaml index 9981e56..6899354 100644 --- a/sqs-operator/config/default/kustomization.yaml +++ b/sqs-operator/config/default/kustomization.yaml @@ -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 diff --git a/sqs-operator/config/samples/sqs_v1alpha1_queueservice.yaml b/sqs-operator/config/samples/sqs_v1alpha1_queueservice.yaml index 881177d..e7611fd 100644 --- a/sqs-operator/config/samples/sqs_v1alpha1_queueservice.yaml +++ b/sqs-operator/config/samples/sqs_v1alpha1_queueservice.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