Skip to content

Commit

Permalink
[PDP-2943] update local recipe GUI menu (#6)
Browse files Browse the repository at this point in the history
* [PDP-2943] update local recipe GUI menu

* remove reldocker
  • Loading branch information
syan-tibco authored Jul 3, 2024
1 parent bfb36c8 commit caa0444
Show file tree
Hide file tree
Showing 26 changed files with 498 additions and 866 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.25
version: 1.0.29
appVersion: "2.0.0"
home: https://github.com/TIBCOSoftware/tp-helm-charts
maintainers:
Expand Down
52 changes: 26 additions & 26 deletions charts/provisioner-config-local/config/menuContent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,17 @@ menuConfig:
- label: "Deploy"
icon: 'pi pi-fw pi-cloud-upload'
items:
- label: "TP Cluster"
items:
- label: "TP base on-prem"
to: "/pipelines/helm-install?title=tp-base-on-prem"
config: pp-deploy-tp-base-on-prem.yaml
- label: "TP base on-perm with certificate"
to: "/pipelines/helm-install?title=tp-base-on-prem-cert"
config: pp-deploy-tp-base-on-prem-cert.yaml
- separator: true
- label: "Data Plane"
items:
- label: "Prepare Data Plane"
items:
- label: "Standard on-prem"
to: "/pipelines/helm-install?title=dp-standard-on-prem"
config: pp-deploy-dp-on-prem.yaml
- label: "Standard on-prem with certificate"
to: "/pipelines/helm-install?title=dp-standard-on-prem-cert"
config: pp-deploy-dp-on-prem-cert.yaml
- label: "Register Data Plane"
items:
- label: "Register Dev DP"
Expand All @@ -39,14 +40,6 @@ menuConfig:
config: pp-register-dp-prod.yaml
- label: "Control Plane"
items:
- label: "Prepare Control Plane"
items:
- label: "Standard on-prem"
to: "/pipelines/helm-install?title=cp-standard-on-prem"
config: pp-deploy-cp-tools-on-prem.yaml
- label: "Standard on-prem with certificate"
to: "/pipelines/helm-install?title=cp-standard-on-prem-cert"
config: pp-deploy-cp-tools-on-prem-cert.yaml
- label: "Deploy Control Plane"
items:
- label: "Standard Control Plane"
Expand Down Expand Up @@ -81,21 +74,28 @@ menuConfig:
- label: "Data Plane"
items:
- label: "Data Plane"
to: "/pipelines/generic-runner?title=Undeploy-dp"
to: "/pipelines/generic-runner?title=undeploy-dp"
config: pp-undeploy-dp.yaml
- label: "Control Plane"
items:
- label: "Control Plane"
to: "/pipelines/generic-runner?title=undeploy-cp"
config: pp-undeploy-cp.yaml
- label: "Maintenance"
icon: 'pi pi-fw pi-wrench'
items:
- label: "Data Plane"
items:
- label: "Info"
to: "/pipelines/generic-runner?title=data-plane-info"
config: pp-maintain-dp-info.yaml
- label: "AWS"
- label: "TP Cluster"
icon: 'pi pi-th-large'
items:
- label: "Refresh ECR token"
to: "/pipelines/generic-runner?title=Refresh ECR token"
config: pp-maintain-aws-refresh-ecr-token.yaml
- label: "TP Cluster Info"
to: "/pipelines/generic-runner?title=tp-info"
config: pp-maintain-tp-info.yaml
- label: "Reset Postgres DB"
to: "/pipelines/helm-install?title=reset-postgres-db"
config: pp-maintain-tp-reset-postgres-db.yaml
- label: "Refresh Docker Registry token"
to: "/pipelines/generic-runner?title=refresh-docker-registry-token"
config: pp-maintain-tp-refresh-docker-token.yaml
- label: "Pipelines"
to: "/pipelines"
icon: 'pi pi-fw pi-list'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,15 @@ options:
- name: "GUI_GITHUB_TOKEN"
type: string
guiType: input
required: false
reference: "meta.guiEnv.GUI_GITHUB_TOKEN"
description: "The github token"
description: |
The GitHub token to access the dev helm charts. For public helm chart you don't need to set this.
- name: "GUI_CP_CHART_REPO"
type: string
guiType: input
reference: "meta.guiEnv.GUI_CP_CHART_REPO"
description: |
The helm chart repository to deploy CP. The default value is public repo. To use private repo set: https://${GITHUB_TOKEN}@raw.githubusercontent.com/tibco/tp-helm-charts/gh-pages
- name: "GUI_CP_ADMIN_EMAIL"
type: string
guiType: input
Expand Down Expand Up @@ -75,7 +81,7 @@ options:
type: boolean
guiType: checkbox
reference: "meta.guiEnv.GUI_CP_INGRESS_USE_HOSTPORT"
description: "When deploy on kid we need to use hostport for ingress controller"
description: "When deploy on kind we need to use hostport for ingress controller"
- name: "GUI_CP_STORAGE_CREATE_PV"
type: string
guiType: input
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

30 changes: 0 additions & 30 deletions charts/provisioner-config-local/config/pp-deploy-dp-on-prem.yaml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
#
# Copyright © 2024. Cloud Software Group, Inc.
# This file is subject to the license terms contained
# in the license file that is distributed with this file.
#

pipelineName: "Deploy TIBCO Platform On-Prem Stack with certificate"
description: |
This pipeline will deploy supporting tools for TP Cluster on-prem with certificate.
options:
- name: "GUI_TP_DNS_DOMAIN"
type: string
guiType: input
reference: "meta.guiEnv.GUI_TP_DNS_DOMAIN"
description: "We have a special domain for on-prem use case. localhost.dataplanes.pro"
- name: "GUI_TP_TLS_CERT"
type: string
guiType: input
required: true
reference: "meta.guiEnv.GUI_TP_TLS_CERT"
description: |
base64 encoding of validate certificate for the domain. You can get it from <a href='https://provisioner.cic2.tibcocloud.com/pipelines/generic-runner?title=certificate-localhost-dp' target='_blank'>Platform Provisioner</a>
- name: "GUI_TP_TLS_KEY"
type: string
guiType: input
required: true
reference: "meta.guiEnv.GUI_TP_TLS_KEY"
description: |
base64 encoding of validate certificate for the domain You can get it from <a href='https://provisioner.cic2.tibcocloud.com/pipelines/generic-runner?title=certificate-localhost-dp' target='_blank'>Platform Provisioner</a>
- name: "GUI_TP_STORAGE_CLASS"
type: string
guiType: input
reference: "meta.guiEnv.GUI_TP_STORAGE_CLASS"
description: |
docker for mac: "hostpath", minikube and kind: "standard", microk8s: "microk8s-hostpath"
- name: "GUI_TP_INGRESS_SERVICE_TYPE"
labels:
- "ClusterIP"
- "LoadBalancer"
- "NodePort"
- "hostPort"
values:
- "ClusterIP"
- "LoadBalancer"
- "NodePort"
- "hostPort"
type: string
guiType: radio
reference: "meta.guiEnv.GUI_TP_INGRESS_SERVICE_TYPE"
description: |
We suggest to use "ClusterIP" and use kubectl port-forward for local cluster.
- name: "Install Nginx Ingress"
type: boolean
guiType: checkbox
reference: "meta.guiEnv.GUI_TP_INSTALL_NGINX_INGRESS"
- name: "Install Traefik Ingress"
type: boolean
guiType: checkbox
reference: "meta.guiEnv.GUI_TP_INSTALL_TRAEFIK_INGRESS"
description: |
Traefik dashboard will be available at: https://dashboard.localhost.dataplanes.pro/dashboard/#/
- name: "Install Postgres"
type: boolean
guiType: checkbox
reference: "meta.guiEnv.GUI_TP_INSTALL_POSTGRES"
description: |
Install Postgres database for TP Cluster
- name: "GUI_PIPELINE_LOG_DEBUG"
type: boolean
guiType: checkbox
reference: "meta.guiEnv.GUI_PIPELINE_LOG_DEBUG"
recipe: |
{{ .Files.Get "recipes/tp-base-on-prem-https.yaml" | indent 2 }}
Loading

0 comments on commit caa0444

Please sign in to comment.