Skip to content

Commit

Permalink
[PDP-3609] 2024 week 50 update (#37)
Browse files Browse the repository at this point in the history
* [PDP-3609] 2024 week 50 update

* improve gke recipe
  • Loading branch information
syan-tibco authored Dec 11, 2024
1 parent e1e0bfb commit 43de891
Show file tree
Hide file tree
Showing 8 changed files with 58 additions and 16 deletions.
2 changes: 1 addition & 1 deletion charts/provisioner-config-local/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ apiVersion: v2
name: provisioner-config-local
description: Platform Provisioner local config
type: application
version: "1.0.83"
version: "1.0.86"
appVersion: "2.0.0"
home: https://github.com/TIBCOSoftware/tp-helm-charts
maintainers:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ recipe: |
repo:
helm:
url: ${CP_CHART_REPO}
username: ${CP_CHART_REPO_USER_NAME}
password: ${CP_CHART_REPO_TOKEN}
username: "${CP_CHART_REPO_USER_NAME}"
password: "${CP_CHART_REPO_TOKEN}"
values:
keepPrevious: true
content: |
Expand All @@ -125,8 +125,8 @@ recipe: |
repo:
helm:
url: ${CP_CHART_REPO}
username: ${CP_CHART_REPO_USER_NAME}
password: ${CP_CHART_REPO_TOKEN}
username: "${CP_CHART_REPO_USER_NAME}"
password: "${CP_CHART_REPO_TOKEN}"
values:
keepPrevious: true
content: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ meta:
# node
CP_NODE_CIDR: ${GUI_TP_CLUSTER_NODE_CIDR:-"10.180.0.0/16"}
CP_POD_CIDR: ${GUI_TP_CLUSTER_POD_CIDR:-"10.180.0.0/16"}
CP_SERVICE_CIDR: ${GUI_TP_SERVICE_CIDR:-"10.96.0.0/12"}
# third party
CP_EXT_NAMESPACE: ${GUI_CP_EXT_NAMESPACE:-"tibco-ext"}
# network policies
Expand Down Expand Up @@ -455,8 +456,8 @@ helmCharts:
repo:
helm:
url: ${CP_CHART_REPO}
username: ${CP_CHART_REPO_USER_NAME}
password: ${CP_CHART_REPO_TOKEN}
username: "${CP_CHART_REPO_USER_NAME}"
password: "${CP_CHART_REPO_TOKEN}"
values:
keepPrevious: false
content: |
Expand Down Expand Up @@ -538,6 +539,7 @@ helmCharts:
clusterInfo:
nodeCIDR: ${CP_NODE_CIDR}
podCIDR: ${CP_POD_CIDR}
serviceCIDR: ${CP_SERVICE_CIDR}
dnsDomain: ${CP_SERVICE_DNS_DOMAIN}
dnsTunnelDomain: ${CP_TUNNEL_DNS_DOMAIN}
provider: ${CP_PROVIDER}
Expand Down Expand Up @@ -732,8 +734,8 @@ helmCharts:
repo:
helm:
url: ${CP_CHART_REPO}
username: ${CP_CHART_REPO_USER_NAME}
password: ${CP_CHART_REPO_TOKEN}
username: "${CP_CHART_REPO_USER_NAME}"
password: "${CP_CHART_REPO_TOKEN}"
values:
keepPrevious: false
content: |
Expand Down Expand Up @@ -779,6 +781,12 @@ helmCharts:
enabled: ${CP_INSTALL_MSG_CONTRIB}
tp-cp-hawk:
enabled: ${CP_INSTALL_HAWK}
tp-cp-hawk-infra-prometheus:
prometheus:
resources:
requests:
cpu: ${CP_RESOURCES_REQUEST_CPU}
memory: ${CP_RESOURCES_REQUEST_MEMORY}
tp-cp-recipes:
enabled: ${CP_INSTALL_RECIPES}
tp-cp-integration:
Expand Down
16 changes: 12 additions & 4 deletions docs/recipes/controlplane/tp-cp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ meta:
# node
CP_NODE_CIDR: ${GUI_TP_CLUSTER_NODE_CIDR:-"10.180.0.0/16"}
CP_POD_CIDR: ${GUI_TP_CLUSTER_POD_CIDR:-"10.180.0.0/16"}
CP_SERVICE_CIDR: ${GUI_TP_SERVICE_CIDR:-"10.96.0.0/12"}
# third party
CP_EXT_NAMESPACE: ${GUI_CP_EXT_NAMESPACE:-"tibco-ext"}
# network policies
Expand Down Expand Up @@ -370,8 +371,8 @@ helmCharts:
repo:
helm:
url: ${CP_CHART_REPO}
username: ${CP_CHART_REPO_USER_NAME}
password: ${CP_CHART_REPO_TOKEN}
username: "${CP_CHART_REPO_USER_NAME}"
password: "${CP_CHART_REPO_TOKEN}"
values:
keepPrevious: false
content: |
Expand Down Expand Up @@ -453,6 +454,7 @@ helmCharts:
clusterInfo:
nodeCIDR: ${CP_NODE_CIDR}
podCIDR: ${CP_POD_CIDR}
serviceCIDR: ${CP_SERVICE_CIDR}
dnsDomain: ${CP_SERVICE_DNS_DOMAIN}
dnsTunnelDomain: ${CP_TUNNEL_DNS_DOMAIN}
provider: ${CP_PROVIDER}
Expand Down Expand Up @@ -647,8 +649,8 @@ helmCharts:
repo:
helm:
url: ${CP_CHART_REPO}
username: ${CP_CHART_REPO_USER_NAME}
password: ${CP_CHART_REPO_TOKEN}
username: "${CP_CHART_REPO_USER_NAME}"
password: "${CP_CHART_REPO_TOKEN}"
values:
keepPrevious: false
content: |
Expand Down Expand Up @@ -694,6 +696,12 @@ helmCharts:
enabled: ${CP_INSTALL_MSG_CONTRIB}
tp-cp-hawk:
enabled: ${CP_INSTALL_HAWK}
tp-cp-hawk-infra-prometheus:
prometheus:
resources:
requests:
cpu: ${CP_RESOURCES_REQUEST_CPU}
memory: ${CP_RESOURCES_REQUEST_MEMORY}
tp-cp-recipes:
enabled: ${CP_INSTALL_RECIPES}
tp-cp-integration:
Expand Down
12 changes: 12 additions & 0 deletions docs/recipes/k8s/cloud/deploy-tp-aks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ meta:
# github
GITHUB_TOKEN: ${GUI_GITHUB_TOKEN}
TP_CHART_REPO: ${GUI_TP_CHART_REPO:-"https://tibcosoftware.github.io/tp-helm-charts"}
TP_CHART_REPO_USER_NAME: ${GUI_TP_CHART_REPO_USER_NAME}
TP_CHART_REPO_TOKEN: ${GUI_TP_CHART_REPO_TOKEN}
PLATFORM_PROVISIONER_REPO: ${GUI_PLATFORM_PROVISIONER_REPO:-github.com/TIBCOSoftware/platform-provisioner}

# Azure env
Expand Down Expand Up @@ -187,6 +189,8 @@ helmCharts:
repo:
helm:
url: ${TP_CHART_REPO}
username: "${TP_CHART_REPO_USER_NAME}"
password: "${TP_CHART_REPO_TOKEN}"
values:
keepPrevious: true
content: |
Expand Down Expand Up @@ -230,6 +234,8 @@ helmCharts:
repo:
helm:
url: ${TP_CHART_REPO}
username: "${TP_CHART_REPO_USER_NAME}"
password: "${TP_CHART_REPO_TOKEN}"
values:
keepPrevious: true
content: |
Expand Down Expand Up @@ -325,6 +331,8 @@ helmCharts:
repo:
helm:
url: ${TP_CHART_REPO}
username: "${TP_CHART_REPO_USER_NAME}"
password: "${TP_CHART_REPO_TOKEN}"
values:
keepPrevious: true
content: |
Expand Down Expand Up @@ -396,6 +404,8 @@ helmCharts:
repo:
helm:
url: ${TP_CHART_REPO}
username: "${TP_CHART_REPO_USER_NAME}"
password: "${TP_CHART_REPO_TOKEN}"
values:
keepPrevious: true
base64Encoded: false
Expand Down Expand Up @@ -438,6 +448,8 @@ helmCharts:
repo:
helm:
url: ${TP_CHART_REPO}
username: "${TP_CHART_REPO_USER_NAME}"
password: "${TP_CHART_REPO_TOKEN}"
values:
keepPrevious: true
base64Encoded: false
Expand Down
10 changes: 10 additions & 0 deletions docs/recipes/k8s/cloud/deploy-tp-eks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ meta:
# github
GITHUB_TOKEN: ${GUI_GITHUB_TOKEN}
TP_CHART_REPO: ${GUI_TP_CHART_REPO:-"https://tibcosoftware.github.io/tp-helm-charts"}
TP_CHART_REPO_USER_NAME: ${GUI_TP_CHART_REPO_USER_NAME}
TP_CHART_REPO_TOKEN: ${GUI_TP_CHART_REPO_TOKEN}
PLATFORM_PROVISIONER_REPO: github.com/TIBCOSoftware/platform-provisioner
# cluster
TP_CLUSTER_NAME: ${GUI_TP_CLUSTER_NAME}
Expand Down Expand Up @@ -207,6 +209,8 @@ helmCharts:
repo:
helm:
url: ${TP_CHART_REPO}
username: "${TP_CHART_REPO_USER_NAME}"
password: "${TP_CHART_REPO_TOKEN}"
values:
keepPrevious: false
content: |
Expand Down Expand Up @@ -313,6 +317,8 @@ helmCharts:
repo:
helm:
url: ${TP_CHART_REPO}
username: "${TP_CHART_REPO_USER_NAME}"
password: "${TP_CHART_REPO_TOKEN}"
values:
keepPrevious: false
content: |
Expand Down Expand Up @@ -386,6 +392,8 @@ helmCharts:
repo:
helm:
url: ${TP_CHART_REPO}
username: "${TP_CHART_REPO_USER_NAME}"
password: "${TP_CHART_REPO_TOKEN}"
values:
keepPrevious: false
content: |
Expand Down Expand Up @@ -455,6 +463,8 @@ helmCharts:
repo:
helm:
url: ${TP_CHART_REPO}
username: "${TP_CHART_REPO_USER_NAME}"
password: "${TP_CHART_REPO_TOKEN}"
values:
keepPrevious: true
content: |
Expand Down
7 changes: 6 additions & 1 deletion docs/recipes/k8s/cloud/deploy-tp-gke.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ meta:
# github
GITHUB_TOKEN: ${GUI_GITHUB_TOKEN} # don't need it for public repo
TP_CHART_REPO: ${GUI_TP_CHART_REPO:-"https://tibcosoftware.github.io/tp-helm-charts"}
TP_CHART_REPO_USER_NAME: ${GUI_TP_CHART_REPO_USER_NAME}
TP_CHART_REPO_TOKEN: ${GUI_TP_CHART_REPO_TOKEN}
PLATFORM_PROVISIONER_REPO: ${GUI_PLATFORM_PROVISIONER_REPO:-github.com/TIBCOSoftware/platform-provisioner}

# GCP setting
Expand All @@ -26,7 +28,8 @@ meta:

# cluster
TP_CLUSTER_NAME: ${GUI_TP_CLUSTER_NAME:-tp-cluster}
TP_CLUSTER_VERSION: ${GUI_TP_CLUSTER_VERSION:-"1.30.5-gke.1014001"}
TP_CLUSTER_VERSION: ${GUI_TP_CLUSTER_VERSION:-"1.30"}
TP_CLUSTER_REGION: ${GUI_GCP_REGION:-us-west1}
TP_AUTHORIZED_IP: ${GUI_TP_AUTHORIZED_IP} # your ip x.x.x.x/32
TP_CLUSTER_VPC_CIDR: ${GUI_TP_CLUSTER_VPC_CIDR:-"10.0.0.0/20"}
TP_CLUSTER_CIDR: ${GUI_TP_CLUSTER_CIDR:-"10.1.0.0/16"}
Expand Down Expand Up @@ -362,6 +365,8 @@ helmCharts:
repo:
helm:
url: ${TP_CHART_REPO}
username: "${TP_CHART_REPO_USER_NAME}"
password: "${TP_CHART_REPO_TOKEN}"
values:
keepPrevious: true
content: |
Expand Down
3 changes: 1 addition & 2 deletions docs/recipes/k8s/cloud/scripts/gke/create-gke.sh
Original file line number Diff line number Diff line change
Expand Up @@ -107,5 +107,4 @@ gcloud beta container \
--binauthz-evaluation-mode=DISABLED \
--no-enable-managed-prometheus \
--workload-pool "${GCP_PROJECT_ID}.svc.id.goog" \
--enable-shielded-nodes \
--node-locations "${GCP_REGION}-a"
--enable-shielded-nodes

0 comments on commit 43de891

Please sign in to comment.