diff --git a/archive-channel/README.md b/archive-channel/README.md index 356f8b6..6baaa30 100644 --- a/archive-channel/README.md +++ b/archive-channel/README.md @@ -6,6 +6,9 @@ title: Archive Channel --- graph LR archive_channel["Archive Channel"] +app_slug["app-slug"] +api_token["api-token"] +channel_slug["channel-slug"] app_slug ---> archive_channel api_token ---> archive_channel channel_slug ---> archive_channel diff --git a/archive-customer/README.md b/archive-customer/README.md index cedec51..ace9b2e 100644 --- a/archive-customer/README.md +++ b/archive-customer/README.md @@ -6,6 +6,8 @@ title: Archive Customer --- graph LR archive_customer["Archive Customer"] +api_token["api-token"] +customer_id["customer-id"] api_token ---> archive_customer customer_id ---> archive_customer ``` diff --git a/create-cluster/README.md b/create-cluster/README.md index 7733f36..0e33104 100644 --- a/create-cluster/README.md +++ b/create-cluster/README.md @@ -6,6 +6,19 @@ title: Create Cluster --- graph LR create_cluster["Create Cluster"] +api_token["api-token"] +kubernetes_distribution["kubernetes-distribution"] +kubernetes_version["kubernetes-version"] +cluster_name["cluster-name"] +ttl["ttl"] +disk["disk"] +nodes["nodes"] +instance_type["instance-type"] +timeout_minutes["timeout-minutes"] +kubeconfig_path["kubeconfig-path"] +export_kubeconfig["export-kubeconfig"] +cluster_id["cluster-id"] +cluster_kubeconfig["cluster-kubeconfig"] api_token ---> create_cluster kubernetes_distribution ---> create_cluster kubernetes_version ---> create_cluster diff --git a/create-customer/README.md b/create-customer/README.md index b71abc0..eba9672 100644 --- a/create-customer/README.md +++ b/create-customer/README.md @@ -6,6 +6,18 @@ title: Create Customer --- graph LR create_customer["Create Customer"] +app_slug["app-slug"] +api_token["api-token"] +customer_name["customer-name"] +customer_email["customer-email"] +license_type["license-type"] +channel_slug["channel-slug"] +expires_in["expires-in"] +entitlements["entitlements"] +is_kots_install_enabled["is-kots-install-enabled"] +customer_id["customer-id"] +license_id["license-id"] +license_file["license-file"] app_slug ---> create_customer api_token ---> create_customer customer_name ---> create_customer diff --git a/create-release/README.md b/create-release/README.md index 54ebf97..911d323 100644 --- a/create-release/README.md +++ b/create-release/README.md @@ -6,6 +6,14 @@ title: Replicated create release --- graph LR replicated_create_release["Replicated create release"] +app_slug["app-slug"] +api_token["api-token"] +chart["chart"] +yaml_dir["yaml-dir"] +promote_channel["promote-channel"] +version["version"] +channel_slug["channel-slug"] +release_sequence["release-sequence"] app_slug ---> replicated_create_release api_token ---> replicated_create_release chart ---> replicated_create_release diff --git a/docs/generate-readme/action-to-mermaid.py b/docs/generate-readme/action-to-mermaid.py index 6e53862..c111158 100644 --- a/docs/generate-readme/action-to-mermaid.py +++ b/docs/generate-readme/action-to-mermaid.py @@ -12,24 +12,28 @@ def generate_mermaid(action_yaml_file): data = yaml.load(f, Loader=yaml.FullLoader) # Add action node + nodes = [] action = Node(data['name']) + nodes.append(action) # Add input nodes inputs = [] if 'inputs' in data: for input_name in data['inputs']: - input = Node(input_name) + input = Node(input_name, input_name) + nodes.append(input) inputs.append(Link(input, action)) # Add output nodes outputs = [] if 'outputs' in data: for output_name in data['outputs']: - output = Node(output_name) + output = Node(output_name, output_name) + nodes.append(output) outputs.append(Link(action, output)) chart = MermaidDiagram( title=data['name'], - nodes=[action], + nodes=nodes, links=inputs+outputs, orientation = 'left to right' ) diff --git a/get-customer-instances/README.md b/get-customer-instances/README.md index 7c9f861..1dcaf8d 100644 --- a/get-customer-instances/README.md +++ b/get-customer-instances/README.md @@ -6,6 +6,9 @@ title: Get Customer Instances --- graph LR get_customer_instances["Get Customer Instances"] +app_slug["app-slug"] +api_token["api-token"] +matrix["matrix"] app_slug ---> get_customer_instances api_token ---> get_customer_instances get_customer_instances ---> matrix diff --git a/helm-install/README.md b/helm-install/README.md index c378c48..e538f1d 100644 --- a/helm-install/README.md +++ b/helm-install/README.md @@ -6,6 +6,16 @@ title: Install a Helm chart to a cluster --- graph LR install_a_helm_chart_to_a_cluster["Install a Helm chart to a cluster"] +helm_path["helm-path"] +kubeconfig["kubeconfig"] +registry_username["registry-username"] +registry_password["registry-password"] +chart["chart"] +version["version"] +name["name"] +namespace["namespace"] +values["values"] +run_preflights["run-preflights"] helm_path ---> install_a_helm_chart_to_a_cluster kubeconfig ---> install_a_helm_chart_to_a_cluster registry_username ---> install_a_helm_chart_to_a_cluster diff --git a/kots-install/README.md b/kots-install/README.md index 749785a..7e9ce1b 100644 --- a/kots-install/README.md +++ b/kots-install/README.md @@ -6,6 +6,15 @@ title: KOTS Install --- graph LR kots_install["KOTS Install"] +kubeconfig["kubeconfig"] +kots_version["kots-version"] +app_slug["app-slug"] +app_version_label["app-version-label"] +shared_password["shared-password"] +license_file["license-file"] +config_values["config-values"] +namespace["namespace"] +wait_duration["wait-duration"] kubeconfig ---> kots_install kots_version ---> kots_install app_slug ---> kots_install diff --git a/prepare-cluster/README.md b/prepare-cluster/README.md index 35db2cf..d7bd6e4 100644 --- a/prepare-cluster/README.md +++ b/prepare-cluster/README.md @@ -6,6 +6,20 @@ title: Prepare Cluster --- graph LR prepare_cluster["Prepare Cluster"] +app_slug["app-slug"] +api_token["api-token"] +chart["chart"] +yaml_dir["yaml-dir"] +kubernetes_distribution["kubernetes-distribution"] +kubernetes_version["kubernetes-version"] +ttl["ttl"] +helm_values["helm-values"] +helm_chart_name["helm-chart-name"] +helm_run_preflights["helm-run-preflights"] +kots_config_values["kots-config-values"] +kots_wait_duration["kots-wait-duration"] +cluster_id["cluster-id"] +cluster_kubeconfig["cluster-kubeconfig"] app_slug ---> prepare_cluster api_token ---> prepare_cluster chart ---> prepare_cluster diff --git a/promote-release/README.md b/promote-release/README.md index 6dda707..07fe372 100644 --- a/promote-release/README.md +++ b/promote-release/README.md @@ -6,6 +6,11 @@ title: Promote Release --- graph LR promote_release["Promote Release"] +app_slug["app-slug"] +api_token["api-token"] +channel_to["channel-to"] +release_sequence["release-sequence"] +release_version["release-version"] app_slug ---> promote_release api_token ---> promote_release channel_to ---> promote_release diff --git a/remove-cluster/README.md b/remove-cluster/README.md index 97948d8..f5390a0 100644 --- a/remove-cluster/README.md +++ b/remove-cluster/README.md @@ -6,6 +6,8 @@ title: Remove cluster --- graph LR remove_cluster["Remove cluster"] +api_token["api-token"] +cluster_id["cluster-id"] api_token ---> remove_cluster cluster_id ---> remove_cluster ``` diff --git a/report-compatibility-result/README.md b/report-compatibility-result/README.md index d6de2a6..1c3636c 100644 --- a/report-compatibility-result/README.md +++ b/report-compatibility-result/README.md @@ -6,6 +6,13 @@ title: Report Compatibility Result --- graph LR report_compatibility_result["Report Compatibility Result"] +app_slug["app-slug"] +api_token["api-token"] +release_sequence["release-sequence"] +kubernetes_distribution["kubernetes-distribution"] +kubernetes_version["kubernetes-version"] +success["success"] +notes["notes"] app_slug ---> report_compatibility_result api_token ---> report_compatibility_result release_sequence ---> report_compatibility_result diff --git a/upgrade-cluster/README.md b/upgrade-cluster/README.md index 0e952e5..6633270 100644 --- a/upgrade-cluster/README.md +++ b/upgrade-cluster/README.md @@ -6,6 +6,14 @@ title: Upgrade Cluster --- graph LR upgrade_cluster["Upgrade Cluster"] +api_token["api-token"] +cluster_id["cluster-id"] +kubernetes_version["kubernetes-version"] +timeout_minutes["timeout-minutes"] +kubeconfig_path["kubeconfig-path"] +export_kubeconfig["export-kubeconfig"] +cluster_id["cluster-id"] +cluster_kubeconfig["cluster-kubeconfig"] api_token ---> upgrade_cluster cluster_id ---> upgrade_cluster kubernetes_version ---> upgrade_cluster