Skip to content

Commit 25d0d8f

Browse files
author
Jelle Dijkstra
committed
Updated readme for local testing
1 parent 99844ac commit 25d0d8f

File tree

4 files changed

+10
-4
lines changed

4 files changed

+10
-4
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ GOLANGCI_LINT = $(LOCALBIN)/golangci-lint
174174

175175
## Tool Versions
176176
KUSTOMIZE_VERSION ?= v5.5.0
177-
CONTROLLER_TOOLS_VERSION ?= v0.17.3
177+
CONTROLLER_TOOLS_VERSION ?= v0.17.1
178178
#ENVTEST_VERSION is the version of controller-runtime release branch to fetch the envtest setup script (i.e. release-0.20)
179179
ENVTEST_VERSION ?= $(shell go list -m -f "{{ .Version }}" sigs.k8s.io/controller-runtime | awk -F'[v.]' '{printf "release-%d.%d", $$2, $$3}')
180180
#ENVTEST_K8S_VERSION is the version of Kubernetes to use for setting up ENVTEST binaries (i.e. 1.31)

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44
## Description
55
// TODO(user): An in-depth paragraph about your project and overview of use
66

7+
## Local testing
8+
9+
- Start an empty cluster using `k8s-clusters/local-test/empty-cluster.sh`
10+
- Build and push the controller to the cluster using `build-and-push-locally.sh <controller-version>`
11+
- Deploy a service to the cluster, for example (running from `k8s-clusters/local-test`): `OWNER=kadaster TECHNICAL_NAME=ad docker-compose -f ./docker-compose.yaml -f ./bundle-pollers/docker-compose.services.yaml up kustomize-init`
12+
713
## Getting Started
814

915
### Prerequisites

config/crd/bases/pdok.nl_wfs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.17.3
6+
controller-gen.kubebuilder.io/version: v0.17.1
77
name: wfs.pdok.nl
88
spec:
99
group: pdok.nl

config/crd/bases/pdok.nl_wms.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.17.3
6+
controller-gen.kubebuilder.io/version: v0.17.1
77
name: wms.pdok.nl
88
spec:
99
group: pdok.nl
@@ -1183,6 +1183,7 @@ spec:
11831183
abstract:
11841184
type: string
11851185
accessConstraints:
1186+
default: https://creativecommons.org/publicdomain/zero/1.0/deed.nl
11861187
type: string
11871188
dataEPSG:
11881189
type: string
@@ -1506,7 +1507,6 @@ spec:
15061507
required:
15071508
- horizontalPodAutoscalerPatch
15081509
- lifecycle
1509-
- options
15101510
- service
15111511
type: object
15121512
status:

0 commit comments

Comments
 (0)