Skip to content

Commit 62fac2c

Browse files
committed
feat: support bigip object verification in ingressLink,tlsProfile and virtual server
1 parent 7e93350 commit 62fac2c

File tree

24 files changed

+1055
-75
lines changed

24 files changed

+1055
-75
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ prod-quick: prod-build-quick
8181

8282
prod-build-quick: pre-build
8383
@echo "Quick build without running tests..."
84-
docker build --build-arg RUN_TESTS=0 --build-arg BUILD_VERSION=$(BUILD_VERSION) --build-arg BUILD_INFO=$(BUILD_INFO) -t k8s-bigip-ctlr:latest -f build-tools/Dockerfile.$(BASE_OS) .
84+
docker build --platform linux/amd64 --build-arg RUN_TESTS=0 --build-arg BUILD_VERSION=$(BUILD_VERSION) --build-arg BUILD_INFO=$(BUILD_INFO) -t k8s-bigip-ctlr:latest -f build-tools/Dockerfile.$(BASE_OS) .
8585

8686
dev-license: pre-build
8787
@echo "Running with tests and licenses generated will be in all_attributions.txt..."

config/apis/cis/v1/types.go

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ type CustomResourceStatus struct {
2727
Error string `json:"error,omitempty"`
2828
}
2929

30+
type TLSProfileStatus struct {
31+
Status string `json:"status,omitempty"`
32+
LastUpdated metav1.Time `json:"lastUpdated,omitempty"`
33+
Error string `json:"error,omitempty"`
34+
}
35+
3036
// VirtualServerSpec is the spec of the VirtualServer resource.
3137
type VirtualServerSpec struct {
3238
Host string `json:"host,omitempty"`
@@ -196,13 +202,15 @@ type VirtualServerList struct {
196202

197203
// +genclient
198204
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
205+
// +kubebuilder:subresource:status
199206

200207
// TLSProfile is a Custom Resource for TLS server
201208
type TLSProfile struct {
202209
metav1.TypeMeta `json:",inline"`
203210
metav1.ObjectMeta `json:"metadata,omitempty"`
204211

205-
Spec TLSProfileSpec `json:"spec"`
212+
Spec TLSProfileSpec `json:"spec"`
213+
Status TLSProfileStatus `json:"status,omitempty"`
206214
}
207215

208216
// TLSProfileSpec is spec for TLSServer

0 commit comments

Comments
 (0)