You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*[`get_ingress_ip`](#get_ingress_ip): Returns the ip of the ingress load balancer service.
28
28
*[`get_kots_app_status`](#get_kots_app_status): Return the state of a given Kots application, or not-installed. Will also return not-installed if kots itself is not installed.
29
29
*[`has_ingress_controller`](#has_ingress_controller): Checks whether an ingress controller is installed.
30
+
*[`helm_add_repository`](#helm_add_repository): Add a helm repository.
30
31
*[`helm_install_chart`](#helm_install_chart): Install or upgrade a helm chart.
31
32
*[`kots_download`](#kots_download): Downloads the currently installed source of a given Kots application from the admin console to the given directory. This task is a wrapper ro
32
33
*[`kots_install`](#kots_install): Install a Replicated application with kubectl-kots for testing. This task takes several shortcuts for configuration and security which are no
@@ -40,6 +41,7 @@
40
41
41
42
### Plans
42
43
44
+
*[`pam_tools::install_chart`](#pam_toolsinstall_chart): Install a helm chart. Optionally adds a helm *repository_uri* before installing. Optionally waits for rollout of the installed chart based
43
45
*[`pam_tools::install_published`](#pam_toolsinstall_published): Install a published Replicated application via kubectl-kots. Runs kubectl-kots with the given license and configuration and waits for deploy
44
46
*[`pam_tools::teardown`](#pam_toolsteardown): In successive tiers, teardown the application, it's admin-console metadata, and the Kots admin-console itself, if desired. By default, just
45
47
@@ -55,18 +57,18 @@ minimal test memory instance of 4.5GB.
55
57
This allows you to spin up Connect on an 8GB test host with the PE
56
58
components squeezed down into:
57
59
58
-
pam_tools::calculate_pe_memory(4.5)
59
-
#
60
-
# {
61
-
# 'console_memory' => 768,
62
-
# 'postgres_console_memory' => 256,
63
-
# 'puppetdb_memory' => 768,
64
-
# 'postgres_puppetdb_memory' => 512,
65
-
# 'orchestrator_memory' => 768,
66
-
# 'postgres_orch_memory' => 256,
67
-
# 'boltserver_memory' => 256,
68
-
# 'puppetserver_memory' => 1024,
69
-
# }
60
+
pam_tools::calculate_pe_memory(4.5)
61
+
#
62
+
# {
63
+
# 'console_memory' => 768,
64
+
# 'postgres_console_memory' => 256,
65
+
# 'puppetdb_memory' => 768,
66
+
# 'postgres_puppetdb_memory' => 512,
67
+
# 'orchestrator_memory' => 768,
68
+
# 'postgres_orch_memory' => 256,
69
+
# 'boltserver_memory' => 256,
70
+
# 'puppetserver_memory' => 1024,
71
+
# }
70
72
71
73
Leaving remaining memory for the rest of Connect and system.
72
74
@@ -84,18 +86,18 @@ minimal test memory instance of 4.5GB.
84
86
This allows you to spin up Connect on an 8GB test host with the PE
85
87
components squeezed down into:
86
88
87
-
pam_tools::calculate_pe_memory(4.5)
88
-
#
89
-
# {
90
-
# 'console_memory' => 768,
91
-
# 'postgres_console_memory' => 256,
92
-
# 'puppetdb_memory' => 768,
93
-
# 'postgres_puppetdb_memory' => 512,
94
-
# 'orchestrator_memory' => 768,
95
-
# 'postgres_orch_memory' => 256,
96
-
# 'boltserver_memory' => 256,
97
-
# 'puppetserver_memory' => 1024,
98
-
# }
89
+
pam_tools::calculate_pe_memory(4.5)
90
+
#
91
+
# {
92
+
# 'console_memory' => 768,
93
+
# 'postgres_console_memory' => 256,
94
+
# 'puppetdb_memory' => 768,
95
+
# 'postgres_puppetdb_memory' => 512,
96
+
# 'orchestrator_memory' => 768,
97
+
# 'postgres_orch_memory' => 256,
98
+
# 'boltserver_memory' => 256,
99
+
# 'puppetserver_memory' => 1024,
100
+
# }
99
101
100
102
Leaving remaining memory for the rest of Connect and system.
101
103
@@ -432,6 +434,26 @@ Checks whether an ingress controller is installed.
# regsubst() returns the string unchanged if it does not match.
41
+
if$repository_name == $chart_name {
42
+
fail_plan("Expected to find a repository name as the prefix/ in chart_name: '${chart_name}'. Therefore unable to add repository uri '${repository_uri}'.")
0 commit comments