|
1 | 1 | # Buttahtoast Library |
2 | 2 |
|
3 | | -   |
| 3 | +   |
4 | 4 |
|
5 | 5 | This is our take on a library Chart. It contains simple functions which are (will be) used across all of our charts. Feel free the add or improve the existing templates. This Chart is still under development/testing. Feel free to use it, if you find any issues with it, please create an issue/PR. We will try to get bugs fixed as soon as possible! |
6 | 6 |
|
@@ -281,15 +281,15 @@ YAML Structure, String |
281 | 281 | ### Labels |
282 | 282 | --- |
283 | 283 |
|
284 | | -This template allows to define common labels. Common labels are appended to the base labels (no merge). By Using this template |
285 | | -the key `.Values.commonLabels` is considered in your value structure. If the key has values and is type `map` the values are used |
286 | | -as common labels. |
| 284 | +This template wraps around all the other label templates. Therefor all their functionalities are available with this template. In addition it's possible to pass labels, which overwrite the result of all the label templates. |
287 | 285 |
|
288 | 286 | #### Arguments |
289 | 287 |
|
290 | 288 | If an as required marked argument is missing, the template engine will intentionally. |
291 | 289 |
|
292 | | - * `.` - Inherited Root Context (Required). Make sure global variables are accessible through the context. |
| 290 | + * `./.context` - Inherited Root Context (Required). |
| 291 | + * `.labels` - Labels which overwrite the resulting labels of all the other label templates. |
| 292 | + * `.versionUnspecific` - Removes the version label. Useful when you don't want your resource to be changed on version update (Spec Change). |
293 | 293 |
|
294 | 294 | #### Keys |
295 | 295 |
|
@@ -369,7 +369,7 @@ global: |
369 | 369 | defaultTag: "" |
370 | 370 |
|
371 | 371 | ## Global Docker Image PullPolicy |
372 | | - # global.pullPolicy -- Global Docker Image Pull Policy declaration. Will overwrite all child .pullPolicy fields. |
| 372 | + # global.imagePullPolicy -- Global Docker Image Pull Policy declaration. Will overwrite all child .pullPolicy fields. |
373 | 373 | imagePullPolicy: "" |
374 | 374 |
|
375 | 375 | ## Global StorageClass |
@@ -501,7 +501,7 @@ This function enables the following keys on the global scope: |
501 | 501 | global: |
502 | 502 |
|
503 | 503 | ## Global Docker Image PullPolicy |
504 | | - # global.pullPolicy -- Global Docker Image Pull Policy declaration. Will overwrite all child .pullPolicy fields. |
| 504 | + # global.imagePullPolicy -- Global Docker Image Pull Policy declaration. Will overwrite all child .pullPolicy fields. |
505 | 505 | imagePullPolicy: "Always" |
506 | 506 | ``` |
507 | 507 |
|
|
0 commit comments