Skip to content

Commit

Permalink
Add support for AS3 3.48 minor v10 (#3137)
Browse files Browse the repository at this point in the history
  • Loading branch information
charanm08 authored Nov 10, 2023
1 parent 6c99055 commit 63a8dad
Show file tree
Hide file tree
Showing 11 changed files with 29 additions and 20 deletions.
2 changes: 1 addition & 1 deletion docs/RELEASE-NOTES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Upgrade notes
Known Issues
`````````````
* [Multi-Cluster] Route status is not updated in other HA cluster.
* `Issue 775 <https://github.com/F5Networks/f5-appsvcs-extension/issues/775>`_: If customer is using referenced monitor then they should not use AS3 3.48. Its recommended to use AS3 3.47 or lower on BIGIP
* `Issue 777 <https://github.com/F5Networks/f5-appsvcs-extension/issues/777>`_: Cluster adminState in multiCluster mode doesn't work properly with AS3 (v3.47 and v3.48) as updating pool member adminState from enable to offline fails with 422 error with AS3 (v3.47 and v3.48). If customer needs this feature, we recommend to use AS3 v3.46 or lower on BIGIP.

2.14.0
-------------
Expand Down
2 changes: 1 addition & 1 deletion docs/upgradeProcess.md
Original file line number Diff line number Diff line change
Expand Up @@ -344,4 +344,4 @@ Refer Release Notes for [CIS v2.13.1](https://github.com/F5Networks/k8s-bigip-ct

### **Upgrading from 2.14.0 to 2.15.0:**
* Disabled default health monitoring with routes, use autoMonitor support for NextGenRoutes. See `Example <https://github.com/F5Networks/k8s-bigip-ctlr/tree/master/docs/config_examples/next-gen-routes/configmap/extendedRouteConfigwithBaseConfigWithAutoMonitor.yaml>`_
* `Issue 775 <https://github.com/F5Networks/f5-appsvcs-extension/issues/775>`_: If customer is using referenced monitor then they should not use AS3 3.48. Its recommended to use AS3 3.47 or lower on BIGIP
* `Issue 777 <https://github.com/F5Networks/f5-appsvcs-extension/issues/777>`_: Cluster adminState in multiCluster mode doesn't work properly with AS3 (v3.47 and v3.48) as updating pool member adminState from enable to offline fails with 422 error with AS3 (v3.47 and v3.48). If customer needs this feature, we recommend to use AS3 v3.46 or lower on BIGIP.
4 changes: 2 additions & 2 deletions pkg/agent/as3/as3Manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const (
// While upgrading version update $id value in schema json to https://raw.githubusercontent.com/F5Networks/f5-appsvcs-extension/master/schema/latest/as3-schema.json
as3Version = 3.48
defaultAS3Version = "3.48.0"
defaultAS3Build = "9"
defaultAS3Build = "10"
as3tenant = "Tenant"
as3class = "class"
as3SharedApplication = "Shared"
Expand All @@ -48,7 +48,7 @@ const (
as3template = "template"
// as3SchemaLatestURL = "https://raw.githubusercontent.com/F5Networks/f5-appsvcs-extension/master/schema/latest/as3-schema.json"
as3defaultRouteDomain = "defaultRouteDomain"
as3SchemaFileName = "as3-schema-3.48.0-9-cis.json"
as3SchemaFileName = "as3-schema-3.48.0-10-cis.json"
)

var baseAS3Config = `{
Expand Down
2 changes: 1 addition & 1 deletion pkg/agent/as3/as3Manager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ var _ = Describe("AS3Manager Tests", func() {
BeforeEach(func() {
mockMgr = newMockAS3Manager(&Params{
As3Version: "3.48.0",
As3Release: "3.48.0-9",
As3Release: "3.48.0-10",
As3SchemaVersion: "3.48.0",
})
mockMgr.Resources = &AgentResources{}
Expand Down
2 changes: 1 addition & 1 deletion pkg/controller/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ const (
//While upgrading version update $id value in schema json to https://raw.githubusercontent.com/F5Networks/f5-appsvcs-extension/master/schema/latest/as3-schema.json
as3Version = 3.48
defaultAS3Version = "3.48.0"
defaultAS3Build = "9"
defaultAS3Build = "10"
clusterHealthPath = "/readyz"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/test/configs/as3_multi_cm_unified_nodeport_local.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://raw.githubusercontent.com/F5Networks/f5-appsvcs-extension/master/schema/3.48.0/as3-schema-3.48.0-9.json",
"$schema": "https://raw.githubusercontent.com/F5Networks/f5-appsvcs-extension/master/schema/3.48.0/as3-schema-3.48.0-10.json",
"class": "AS3",
"persist": true,
"logLevel": "error",
Expand Down
2 changes: 1 addition & 1 deletion pkg/test/configs/as3_route_cfgmap_declaration.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://raw.githubusercontent.com/F5Networks/f5-appsvcs-extension/master/schema/3.48.0/as3-schema-3.48.0-9.json",
"$schema": "https://raw.githubusercontent.com/F5Networks/f5-appsvcs-extension/master/schema/3.48.0/as3-schema-3.48.0-10.json",
"class": "AS3",
"persist": true,
"logLevel": "error",
Expand Down
2 changes: 1 addition & 1 deletion pkg/test/configs/as3_route_declaration.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://raw.githubusercontent.com/F5Networks/f5-appsvcs-extension/master/schema/3.48.0/as3-schema-3.48.0-9.json",
"$schema": "https://raw.githubusercontent.com/F5Networks/f5-appsvcs-extension/master/schema/3.48.0/as3-schema-3.48.0-10.json",
"class": "AS3",
"declaration": {
"class": "ADC",
Expand Down
2 changes: 1 addition & 1 deletion pkg/test/configs/as3_route_declaration_overridden.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://raw.githubusercontent.com/F5Networks/f5-appsvcs-extension/master/schema/3.48.0/as3-schema-3.48.0-9.json",
"$schema": "https://raw.githubusercontent.com/F5Networks/f5-appsvcs-extension/master/schema/3.48.0/as3-schema-3.48.0-10.json",
"class": "AS3",
"declaration": {
"class": "ADC",
Expand Down
2 changes: 1 addition & 1 deletion pkg/test/configs/as3config_multi_cm_unified.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://raw.githubusercontent.com/F5Networks/f5-appsvcs-extension/master/schema/3.48.0/as3-schema-3.48.0-9.json",
"$schema": "https://raw.githubusercontent.com/F5Networks/f5-appsvcs-extension/master/schema/3.48.0/as3-schema-3.48.0-10.json",
"class": "AS3",
"declaration": {
"class": "ADC",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30509,6 +30509,7 @@
},
{
"type": "object",
"description": "Name or path to monitor",
"properties": {
"bigip": {
"title": "BIG-IP monitor",
Expand Down Expand Up @@ -34805,14 +34806,6 @@
"format": "f5ip",
"default": ""
},
"targetPort": {
"title": "Port",
"description": "L4 port (if any) monitor should probe; if 0 (default) then pool member port",
"type": "integer",
"minimum": 0,
"maximum": 65535,
"default": 0
},
"timeout": {
"title": "Timeout",
"description": "Time limit for node to respond (seconds)",
Expand Down Expand Up @@ -35827,6 +35820,21 @@
"tag": "expand"
}
},
"targetAddress": {
"title": "Address",
"description": "IP address monitor should probe; if empty (default) then pool member address",
"type": "string",
"format": "f5ip",
"default": ""
},
"targetPort": {
"title": "Port",
"description": "L4 port (if any) monitor should probe; if 0 (default) then pool member port",
"type": "integer",
"minimum": 0,
"maximum": 65535,
"default": 0
},
"timeout": {
"title": "Timeout",
"description": "Time limit for node to respond (seconds)",
Expand Down Expand Up @@ -36140,7 +36148,8 @@
"properties": {
"bigip": {
"description": "Path to BIG-IP object",
"type": "string"
"type": "string",
"minLength": 1
}
},
"required": [
Expand Down

0 comments on commit 63a8dad

Please sign in to comment.