-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathREADME.md.gotmpl
More file actions
60 lines (45 loc) · 2.16 KB
/
README.md.gotmpl
File metadata and controls
60 lines (45 loc) · 2.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{{ template "chart.header" . }}
{{ template "chart.deprecationWarning" . }}
{{ template "chart.badgesSection" . }}
{{ template "chart.description" . }}
This chart is used to set up the basic building blocks in [Validated Patterns](https://validatedpatterns.io)
### Notable changes
* v0.9.49: Boolean Templates in override values now also render correctly
* v0.9.48: Templates in override values now render
* v0.9.45: Default value of `resourceTrackingMethod` is now `annotation`
* v0.9.44: Default value of `resourceTrackingMethod` is now `annotation`
* v0.9.43: Add support to `env`, `volumes` and `volumeMounts` in repository server
* v0.9.38: Ensure sharedValueFiles and extraValueFiles are always prefixed with $patternref
* v0.9.37: Use global.patternDelete value set by patterns operator when patterns are deleted
* v0.9.32: Add labels and annotations to operatorgroups when included in namespaces
* v0.9.27: Introduce support for OLMv1 Subscriptions
* v0.9.25: One more update after fixing a relative path issue in the repository builder
* v0.9.23: Update dependencies on helm repository builder.
* v0.9.21: Include dependency on vp-rbac. This will be needed to support OLMv1 subscriptions soon.
### Resource Actions
Custom resource actions can be configured on the ArgoCD instance via `clusterGroup.argoCD.resourceActions`.
This allows defining Lua-based actions that appear in the ArgoCD UI for specific resource kinds.
For example, to add a "scale up" action for Deployments:
```yaml
clusterGroup:
argoCD:
resourceActions:
- group: apps
kind: Deployment
action: |
local os = require("os")
local actions = {}
actions["scale-up"] = {["disabled"] = false}
local replicas = 1
if obj.spec.replicas ~= nil then
replicas = obj.spec.replicas + 1
end
local patch = {["spec"] = {["replicas"] = replicas}}
return actions, patch
```
{{ template "chart.homepageLine" . }}
{{ template "chart.maintainersSection" . }}
{{ template "chart.sourcesSection" . }}
{{ template "chart.requirementsSection" . }}
{{ template "chart.valuesSection" . }}
{{ template "helm-docs.versionFooter" . }}