-
Notifications
You must be signed in to change notification settings - Fork 194
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for HTML profile in Policy CR and VS CR (#3221)
- Loading branch information
Showing
11 changed files
with
69 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
docs/config_examples/customResource/Policy/policy-with-html-profile.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
apiVersion: cis.f5.com/v1 | ||
kind: Policy | ||
metadata: | ||
labels: | ||
f5cr: "true" | ||
name: cr-policy1 | ||
namespace: test | ||
spec: | ||
iRules: {} | ||
l3Policies: {} | ||
l7Policies: {} | ||
profiles: | ||
htmlProfile: /Common/html |
14 changes: 14 additions & 0 deletions
14
docs/config_examples/customResource/VirtualServer/htmlProfile/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Virtual Server with Persistence Profile | ||
|
||
This section demonstrates the option to configure HTML Profile in virtual server. | ||
|
||
Option which can use to refer HTML Profile: | ||
|
||
``` | ||
#Example | ||
htmlProfile: /Common/html | ||
``` | ||
|
||
## vs-with-htmlProfile.yaml | ||
|
||
By deploying this yaml file in your cluster, CIS will create a Virtual Server containing HTML Profile on BIG-IP. |
15 changes: 15 additions & 0 deletions
15
docs/config_examples/customResource/VirtualServer/htmlProfile/vs-with-htmlProfile.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
apiVersion: "cis.f5.com/v1" | ||
kind: VirtualServer | ||
metadata: | ||
name: my-new-virtual-server | ||
labels: | ||
f5cr: "true" | ||
spec: | ||
host: cafe.example.com | ||
virtualServerAddress: "172.16.3.4" | ||
# htmlProfile can be used to modify HTML content sent in responses from the back-end servers | ||
htmlProfile: /Common/html | ||
pools: | ||
- path: /coffee | ||
service: svc-1 | ||
servicePort: 80 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters