@otwld/nx-argo 0.0.9 → 0.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -59,7 +59,9 @@ The canonical metadata shape is:
|
|
|
59
59
|
the generated values files. `chartPath`, repository identity, namespace prefix,
|
|
60
60
|
and all file paths are explicit; the generator does not assume a frontend,
|
|
61
61
|
backend, web, or repository name. The pull-request policy requires repository
|
|
62
|
-
owner/name and generates a `values-pr.yaml` final Helm value file.
|
|
62
|
+
owner/name and generates a `values-pr.yaml` final Helm value file. Its preview
|
|
63
|
+
ApplicationSet resolves the chart and values sources from the same `preview/pr-N`
|
|
64
|
+
snapshot revision.
|
|
63
65
|
|
|
64
66
|
## Contracts
|
|
65
67
|
|
package/package.json
CHANGED
|
@@ -225,7 +225,7 @@ function createApplicationSet(stack, chartPath, namespacePrefix, repository, val
|
|
|
225
225
|
sources: [
|
|
226
226
|
{
|
|
227
227
|
repoURL: repositoryUrl,
|
|
228
|
-
targetRevision: '{{ .
|
|
228
|
+
targetRevision: 'preview/pr-{{ .number }}',
|
|
229
229
|
path: chartPath,
|
|
230
230
|
helm: {
|
|
231
231
|
valueFiles: [`$values/${gitopsValuesPath}`],
|