Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement "POST /v3/service_brokers" #3330

Merged
merged 2 commits into from
Jul 3, 2024
Merged
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
13 changes: 11 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,22 @@ help: ## Display this help.
CONTROLLERS=controllers job-task-runner kpack-image-builder statefulset-runner
COMPONENTS=api $(CONTROLLERS)

manifests:
manifests: install-controller-gen
$(CONTROLLER_GEN) \
paths="./model/..." \
crd \
output:crd:artifacts:config=helm/korifi/controllers/crds
@for comp in $(COMPONENTS); do make -C $$comp manifests; done

generate:
generate: install-controller-gen
$(CONTROLLER_GEN) object:headerFile="controllers/hack/boilerplate.go.txt" paths="./model/..."
@for comp in $(CONTROLLERS); do make -C $$comp generate; done
go run ./scripts/helmdoc/main.go > README.helm.md

CONTROLLER_GEN = $(shell pwd)/bin/controller-gen
install-controller-gen:
GOBIN=$(shell pwd)/bin go install sigs.k8s.io/controller-tools/cmd/controller-gen

generate-fakes:
go generate ./...

Expand Down
2 changes: 1 addition & 1 deletion README.helm.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ Here are all the values that can be set for the chart:
- `debug` (_Boolean_): Enables remote debugging with [Delve](https://github.com/go-delve/delve).
- `defaultAppDomainName` (_String_): Base domain name for application URLs.
- `eksContainerRegistryRoleARN` (_String_): Amazon Resource Name (ARN) of the IAM role to use to access the ECR registry from an EKS deployed Korifi. Required if containerRegistrySecret not set.
- `experimental`: Experimental features. Make sure you do not enable those on production. No guarantee provided! Backwards incompatible changes in future are quite probable!
- `experimental`: Experimental features. No guarantees are provided and breaking/backwards incompatible changes should be expected. These features are not recommended for use in production environments.
- `managedServices`:
- `include` (_Boolean_): Enable managed services support
- `generateIngressCertificates` (_Boolean_): Use `cert-manager` to generate self-signed certificates for the API and app endpoints.
Expand Down
2 changes: 2 additions & 0 deletions api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ COPY go.mod go.sum ./
RUN --mount=type=cache,target=/go/pkg/mod \
go mod download

COPY model model
COPY api/actions api/actions
COPY api/errors api/errors
COPY api/authorization api/authorization
Expand All @@ -26,6 +27,7 @@ COPY controllers/config controllers/config
COPY controllers/controllers/shared controllers/controllers/shared
COPY controllers/controllers/workloads controllers/controllers/workloads
COPY controllers/controllers/services/credentials controllers/controllers/services/credentials
COPY controllers/controllers/services/brokers controllers/controllers/services/brokers
COPY controllers/webhooks controllers/webhooks
COPY tools tools
COPY version version
Expand Down
123 changes: 123 additions & 0 deletions api/handlers/fake/cfservice_broker_repository.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

123 changes: 123 additions & 0 deletions api/handlers/fake/state_repository.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading