Commit 167d574
enforces required env variables and adds docs (#1047)
add-targeted-namespace.sh has a sinister failure case if
PGO_INSTALLATION_NAME is unset in that the pgo-installation-name label
does not get set correctly. This causes later failures in selectors
built upon the assumption of that label's existence.
This change updates add-targeted-namespace.sh to fail if its expected
environment variables do not exist and updates the references to the
script to warn about needing to ensure its definition.1 parent 9dc479d commit 167d574
File tree
3 files changed
+9
-2
lines changed- deploy
- hugo/content/Installation
- install-with-ansible
3 files changed
+9
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
18 | 22 | | |
19 | 23 | | |
20 | 24 | | |
21 | 25 | | |
22 | 26 | | |
23 | 27 | | |
24 | | - | |
25 | 28 | | |
26 | 29 | | |
27 | 30 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
| 50 | + | |
49 | 51 | | |
50 | 52 | | |
51 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| 86 | + | |
| 87 | + | |
86 | 88 | | |
87 | 89 | | |
88 | 90 | | |
| |||
0 commit comments