Skip to content

Commit 9802b0e

Browse files
docs: update skaffold examples and documentation to properly reflect v1 ->v2 artifactOverrides changes - 2nd attempt (#8019)
1 parent a40ca7a commit 9802b0e

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

docs-v2/content/en/docs/pipeline-stages/deployers/helm.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -54,18 +54,18 @@ Associating the Helm image key allows Skaffold to track the image being built, a
5454
```yaml
5555
build:
5656
artifacts:
57-
- image: gcr.io/my-project/my-image # must match in artifactOverrides
57+
- image: gcr.io/my-project/my-image # must match in setValues
5858
deploy:
5959
helm:
6060
releases:
6161
- name: my-release
62-
artifactOverrides:
62+
setValues:
6363
image: gcr.io/my-project/my-image # no tag present!
6464
imageStrategy:
6565
helm: {}
6666
```
6767

68-
The `artifactOverrides` binds a Helm value key to a build artifact. The `imageStrategy` configures the image reference strategy for informing Helm of the image reference to a newly built artifact.
68+
The `setValues` configuration binds a Helm key to the specified value. The `imageStrategy` configures the image reference strategy for informing Helm of the image reference to a newly built artifact.
6969

7070
### Multiple image overrides
7171

@@ -89,7 +89,7 @@ deploy:
8989
helm:
9090
releases:
9191
- name: my-release
92-
artifactOverrides:
92+
setValues:
9393
firstContainerImage: gcr.io/my-project/first-image # no tag present!
9494
secondContainerImage: gcr.io/my-project/second-image # no tag present!
9595
imageStrategy:

examples/helm-deployment/skaffold.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,5 @@ deploy:
88
releases:
99
- name: skaffold-helm
1010
chartPath: charts
11+
setValues:
12+
image: skaffold-helm

0 commit comments

Comments
 (0)