Closed zhu20200720 closed 3 years ago
@zhu20200720 CIS only support one AS3 override. Can you please merge ingress_x_y_z_vip_80 and ingress_x_y_z_vip1_80 into one ConfigMap. I can help if you share the YAML file.
Thank you @mdditt2000 , I attached two configMap, they are very similar. It would be great if they can be merged as we tried ourselves but getting issues. customconfig.txt customconfig1.txt
here you go
ConfigMap - https://github.com/mdditt2000/kubernetes-1-19/blob/master/cis%202.2/github/1558/configmap.yaml AS3 Json - https://github.com/mdditt2000/kubernetes-1-19/blob/master/cis%202.2/github/1558/configmap.json
This will resolve your issue
Thanks, we will test and report it back
i changed you file. It looks the " was incorrect and not valid. Let me know how the testing goes. That override should work for you.
@mdditt2000 thanks, it works. As we use cis 2.1.0, as3 3.21.0, we have to add the line ""schemaVersion": "3.0.0","
@zhu20200720 glad that resolved your issue!! Thank you..
Setup Details
CIS Version : 2.1.0
Build: f5networks/k8s-bigip-ctlr:latest
BIGIP Version: Big IP x.x.x
AS3 Version: 3.21.0
Agent Mode: AS3 Orchestration: K8S/OSCP
Orchestration Version: 1.18.8
Pool Mode: Nodeport
Additional Setup details: <Platform/CNI Plugins/ cluster nodes/ etc>
Description
We have two ingress created two virtual servers in one f5 partition. The two Ingress, two custom ConfigMap were deployed in two separate k8s namespaces.
We want to override the as3 configmap settings for both virtual servers. "--override-as3-declaration=kube-system/customconfig", //"--override-as3-declaration=kube-system/customconfig1"
However only the last argument above works in Ingress controller.
Is there a way in Ingress controller or in ConfigMap to achieve overridden both virtual server settings?
Thanks, Mr zhu
Steps To Reproduce
1) 2) 3)
Expected Result
Actual Result
Diagnostic Information
Observations (if any)