Commit 92e83bf
committed
Add support for ~/.config/validated-patterns/pattern-uuid
* Pristine environment:
$ make show
helm template common/operator-install/ --name-template common -f values-global.yaml --set main.git.repoURL="https://github.com/hybrid-cloud-patterns/common.git" --set main.git.revision=vp-paths
---
apiVersion: gitops.hybrid-cloud-patterns.io/v1alpha1
kind: Pattern
metadata:
name: common
namespace: openshift-operators
spec:
clusterGroupName: example
gitSpec:
targetRepo: https://github.com/hybrid-cloud-patterns/common.git
targetRevision: vp-paths
gitOpsSpec:
operatorChannel: gitops-1.8
operatorSource: redhat-operators
multiSourceConfig:
enabled: false
...
* Add UUID to the environment
$ echo "vp-team-bandini" >> ~/.config/validated-patterns/pattern-uuid
$ make show
helm template common/operator-install/ --name-template common -f values-global.yaml --set main.git.repoURL="https://github.com/hybrid-cloud-patterns/common.git" --set main.git.revision=vp-paths --set main.analyticsUUID=vp-team-bandini
---
apiVersion: gitops.hybrid-cloud-patterns.io/v1alpha1
kind: Pattern
metadata:
name: common
namespace: openshift-operators
spec:
clusterGroupName: example
gitSpec:
targetRepo: https://github.com/hybrid-cloud-patterns/common.git
targetRevision: vp-paths
gitOpsSpec:
operatorChannel: gitops-1.8
operatorSource: redhat-operators
multiSourceConfig:
enabled: false
analyticsUUID: vp-team-bandini
...1 parent 5585af0 commit 92e83bf
1 file changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
22 | 24 | | |
23 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
24 | 32 | | |
25 | 33 | | |
26 | 34 | | |
| |||
0 commit comments