Skip to content

Commit

Permalink
removed vars
Browse files Browse the repository at this point in the history
  • Loading branch information
Janibasha committed Sep 14, 2023
1 parent 1a0d3c4 commit 6460daf
Show file tree
Hide file tree
Showing 16 changed files with 19 additions and 612 deletions.
502 changes: 0 additions & 502 deletions .github/workflows/waf-k8s-apply.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Examples of F5 Distributed Cloud (XC) WAAP deployments utilizing Terraform. For
| [**Coming soon:** Deploy F5 XC WAF on XC Regional Edges + AppConnect](https://github.com/f5devcentral/f5-xc-waap-terraform-examples/blob/main/workflow-guides/waf/f5-xc-waf-on-re-appconnect/README.rst) |
| [**Coming soon:** Deploy F5 XC WAF on XC Customer Edges](https://github.com/f5devcentral/f5-xc-waap-terraform-examples/blob/main/workflow-guides/waf/f5-xc-waf-on-ce/README.rst) |
| [**Coming soon:** Deploy F5 XC WAF on XC Customer Edges + MultiCloud](https://github.com/f5devcentral/f5-xc-waap-terraform-examples/blob/main/workflow-guides/waf/f5-xc-waf-on-ce-multicloud/README.rst) |
| [Demo guide to Deploy F5 XC WAF on Kubernetes](workflow-guides/waf/f5-xc-waf-on-k8s/README.md) |
| [Demo guide to Deploy F5 XC WAF on Kubernetes](workflow-guides/waf/f5-xc-waf-on-k8s/README.rst) |

* **F5 Distributed Cloud API Security**
| **DevCentral Overview Articles** | **Use Case / Workflow Guides (SaaS Console, Automation)** |
Expand Down
4 changes: 2 additions & 2 deletions infra/terraform.tfvars → infra/terraform.tfvars.examples
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Global
project_prefix = "jani-waapk8s"
resource_owner = "jani"
project_prefix = "prefix"
resource_owner = "name"

#AWS INFRA
aws_region = "ap-south-1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -209,15 +209,15 @@ jobs:
Config: /etc/vpm/config.yaml
DisableModules: ["recruiter"]
# CHANGE ME
Latitude: ${{ secrets.TF_CLOUD_LATITUDE }}
Latitude: ${{ secrets.TF_CE_LATITUDE }}
# CHANGE ME
Longitude: ${{ secrets.TF_CLOUD_LONGITUDE }}
Longitude: ${{ secrets.TF_CE_LONGITUDE }}
MauriceEndpoint: https://register.ves.volterra.io
MauricePrivateEndpoint: https://register-tls.ves.volterra.io
PrivateNIC: eth0
SkipStages: ["osSetup", "etcd", "kubelet", "master", "voucher", "workload", "controlWorkload"]
# CHANGE ME
Token: ${{ secrets.TF_CLOUD_TOKEN }}
Token: ${{ secrets.TF_CE_TOKEN }}
CertifiedHardware: k8s-minikube-voltmesh
YAML
}
Expand Down Expand Up @@ -450,7 +450,7 @@ jobs:
EOF
echo "${{secrets.P12}}" | base64 -d > api.p12
cp ../../../../../xc/terraform.tfvars .
- name: Terraform Init
- name: Terraform Init and Renaming files
id: init
run: |
mv site.tmp site.tf
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -279,15 +279,15 @@ jobs:
Config: /etc/vpm/config.yaml
DisableModules: ["recruiter"]
# CHANGE ME
Latitude: ${{ secrets.TF_CLOUD_LATITUDE }}
Latitude: ${{ secrets.TF_CE_LATITUDE }}
# CHANGE ME
Longitude: ${{ secrets.TF_CLOUD_LONGITUDE }}
Longitude: ${{ secrets.TF_CE_LONGITUDE }}
MauriceEndpoint: https://register.ves.volterra.io
MauricePrivateEndpoint: https://register-tls.ves.volterra.io
PrivateNIC: eth0
SkipStages: ["osSetup", "etcd", "kubelet", "master", "voucher", "workload", "controlWorkload"]
# CHANGE ME
Token: ${{ secrets.TF_CLOUD_TOKEN }}
Token: ${{ secrets.TF_CE_TOKEN }}
CertifiedHardware: k8s-minikube-voltmesh
YAML
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ Use this repo configuration files and work-flow guide for deploying WAAP on Kube
Note: If clicking on the links show 403 error, copy the links and open them in new tab.

## Architectural diagram : ##
<img width="500" alt="waap-anywhere-k8s" src="https://github.com/f5devcentral/waap_on_k8s/assets/6093830/b9bce60e-7eea-4f94-8554-9ed8a7afc79d">

.. image:: /workflow-guides/waf/f5-xc-waf-on-k8s/assets/MicrosoftTeams-image.png

## Manual step by step process for deployment: ##
#### Prerequisites: ####
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 0 additions & 16 deletions workflow-guides/waf/f5-xc-waf-on-k8s/terraform/lb-ce/ce-k8s-lb.tf

This file was deleted.

13 changes: 0 additions & 13 deletions workflow-guides/waf/f5-xc-waf-on-k8s/terraform/lb-ce/data.tf

This file was deleted.

This file was deleted.

10 changes: 0 additions & 10 deletions workflow-guides/waf/f5-xc-waf-on-k8s/terraform/lb-ce/providers.tf

This file was deleted.

10 changes: 0 additions & 10 deletions workflow-guides/waf/f5-xc-waf-on-k8s/terraform/lb-ce/variables.tf

This file was deleted.

11 changes: 0 additions & 11 deletions workflow-guides/waf/f5-xc-waf-on-k8s/terraform/lb-ce/versions.tf

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# temporary file which is needed for site cleanup
resource "volterra_site_state" "site" {
name = var.site_name
state = "DECOMMISSIONING"
Expand Down
31 changes: 0 additions & 31 deletions xc/terraform.tfvars

This file was deleted.

7 changes: 7 additions & 0 deletions xc/terraform.tfvars.examples
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ app_domain = "Your App Domain"
#XC WAF
xc_waf_blocking = true

# pool and LB inputs
k8s_pool = "false"
serviceName = ""
serviceport = ""
advertise_sites = "false"
http_only = "false"

#XC AI/ML Settings for MUD, APIP - NOTE: Only set if using AI/ML settings from the shared namespace
xc_app_type = []
xc_multi_lb = false
Expand Down

0 comments on commit 6460daf

Please sign in to comment.