Skip to content

Commit a3d828b

Browse files
committed
Add sample manifests to operator bundle
1 parent 9f6be06 commit a3d828b

5 files changed

Lines changed: 106 additions & 2 deletions

File tree

bundle/manifests/lbconfig-operator.clusterserviceversion.yaml

Lines changed: 60 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,70 @@ apiVersion: operators.coreos.com/v1alpha1
22
kind: ClusterServiceVersion
33
metadata:
44
annotations:
5-
alm-examples: '[]'
5+
alm-examples: |-
6+
[
7+
{
8+
"apiVersion": "lb.lbconfig.carlosedp.com/v1",
9+
"kind": "ExternalLoadBalancer",
10+
"metadata": {
11+
"name": "externalloadbalancer-infra-sample",
12+
"namespace": "lbconfig-operator-system"
13+
},
14+
"spec": {
15+
"monitor": {
16+
"monitortype": "http",
17+
"path": "/healthz",
18+
"port": 1936
19+
},
20+
"ports": [
21+
80,
22+
443
23+
],
24+
"provider": {
25+
"creds": "f5-creds",
26+
"host": "https://192.168.1.35",
27+
"partition": "Common",
28+
"port": 443,
29+
"validatecerts": false,
30+
"vendor": "F5_BigIP"
31+
},
32+
"type": "infra",
33+
"vip": "192.168.1.45"
34+
}
35+
},
36+
{
37+
"apiVersion": "lb.lbconfig.carlosedp.com/v1",
38+
"kind": "ExternalLoadBalancer",
39+
"metadata": {
40+
"name": "externalloadbalancer-master-sample",
41+
"namespace": "lbconfig-operator-system"
42+
},
43+
"spec": {
44+
"monitor": {
45+
"monitortype": "https",
46+
"path": "/healthz",
47+
"port": 6443
48+
},
49+
"ports": [
50+
6443
51+
],
52+
"provider": {
53+
"creds": "netscaler-creds",
54+
"host": "https://192.168.1.36",
55+
"port": 443,
56+
"validatecerts": false,
57+
"vendor": "Citrix_ADC"
58+
},
59+
"type": "master",
60+
"vip": "192.168.1.40"
61+
}
62+
}
63+
]
664
capabilities: Auto Pilot
765
categories: Networking
866
certified: "false"
967
containerImage: quay.io/carlosedp/lbconfig-operator:v0.6.1-dev
10-
createdAt: "2026-06-15T23:16:24Z"
68+
createdAt: "2026-06-15T23:57:28Z"
1169
description: Manage External Load Balancers allowing creation/update for VIPs
1270
and Servers dynamically via API.
1371
k8sMaxVersion: ""

config/manifests/kustomization.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
resources:
44
- bases/lbconfig-operator.clusterserviceversion.yaml
55
- ../default
6+
- ../samples
67
- ../scorecard
78
# [WEBHOOK] To enable webhooks, uncomment all the sections with [WEBHOOK] prefix.
89
# Do NOT uncomment sections with prefix [CERTMANAGER], as OLM does not support cert-manager.

config/samples/kustomization.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
resources:
2+
- lb_v1_externalloadbalancer_master.yaml
3+
- lb_v1_externalloadbalancer_infra.yaml
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
apiVersion: lb.lbconfig.carlosedp.com/v1
2+
kind: ExternalLoadBalancer
3+
metadata:
4+
name: externalloadbalancer-infra-sample
5+
namespace: lbconfig-operator-system
6+
spec:
7+
vip: "192.168.1.45"
8+
type: "infra"
9+
ports:
10+
- 80
11+
- 443
12+
monitor:
13+
path: "/healthz"
14+
port: 1936
15+
monitortype: http
16+
provider:
17+
vendor: F5_BigIP
18+
host: "https://192.168.1.35"
19+
port: 443
20+
creds: f5-creds
21+
partition: "Common"
22+
validatecerts: false
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
apiVersion: lb.lbconfig.carlosedp.com/v1
2+
kind: ExternalLoadBalancer
3+
metadata:
4+
name: externalloadbalancer-master-sample
5+
namespace: lbconfig-operator-system
6+
spec:
7+
vip: "192.168.1.40"
8+
type: "master"
9+
ports:
10+
- 6443
11+
monitor:
12+
path: "/healthz"
13+
port: 6443
14+
monitortype: "https"
15+
provider:
16+
vendor: Citrix_ADC
17+
host: "https://192.168.1.36"
18+
port: 443
19+
creds: netscaler-creds
20+
validatecerts: false

0 commit comments

Comments
 (0)