You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Mention that binary needs to be renamed on Windows
* Strip trailing whitespace in docs
Signed-off-by: Cornelius Weig <[email protected]>
* Make sure release notes are created without trailing whitespace
* Add shebang line in release.sh
Signed-off-by: Cornelius Weig <[email protected]>
* Remove trailing whitespace in usage string
-[#skaffold on Kubernetes Slack](https://kubernetes.slack.com/messages/CABQMSZA6/)
113
113
114
-
There is a bi-weekly Skaffold users meeting at 9:30am-10am PST hosted on hangouts under "skaffold".
115
-
Everyone is welcome to add suggestions to the [agenda](https://docs.google.com/document/d/1mnCC_fAI3pmg3Vb2nMJyPk8Qtjjuapw_BTyqI_dX7sk/edit) and attend.
114
+
There is a bi-weekly Skaffold users meeting at 9:30am-10am PST hosted on hangouts under "skaffold".
115
+
Everyone is welcome to add suggestions to the [agenda](https://docs.google.com/document/d/1mnCC_fAI3pmg3Vb2nMJyPk8Qtjjuapw_BTyqI_dX7sk/edit) and attend.
116
116
Join the [skaffold-users mailing list](https://groups.google.com/forum/#!forum/skaffold-users) to get the calendar invite directly on your calendar.
cmd.Flags().StringArrayVarP(&opts.TargetImages, "build-image", "b", nil, "Choose which artifacts to build. Artifacts with image names that contain the expression will be built only. Default is to build sources for all artifacts")
58
-
cmd.Flags().BoolVarP(&quietFlag, "quiet", "q", false, "Suppress the build output and print image built on success. See --output to format output.")
58
+
cmd.Flags().BoolVarP(&quietFlag, "quiet", "q", false, "Suppress the build output and print image built on success. See --output to format output.")
59
59
cmd.Flags().VarP(buildFormatFlag, "output", "o", "Used in conjuction with --quiet flag. "+buildFormatFlag.Usage())
Copy file name to clipboardExpand all lines: docs/content/en/docs/concepts/_index.md
+16-16
Original file line number
Diff line number
Diff line change
@@ -60,11 +60,11 @@ Skaffold allows you to skip stages. If, for example, you run Kubernetes
60
60
locally with [Minikube](https://kubernetes.io/docs/setup/minikube/), Skaffold
61
61
will not push artifacts to a remote repository.
62
62
63
-
## Image repository handling
63
+
## Image repository handling
64
64
65
65
Skaffold allows for automatically rewriting image names to your repository.
66
-
This way you can grab a Skaffold project and just `skaffold run` it to deploy to your cluster.
67
-
The way to achieve this is the `default-repo` functionality:
66
+
This way you can grab a Skaffold project and just `skaffold run` it to deploy to your cluster.
67
+
The way to achieve this is the `default-repo` functionality:
68
68
69
69
1. Via `default-repo` flag
70
70
@@ -75,25 +75,25 @@ The way to achieve this is the `default-repo` functionality:
75
75
1. Via `SKAFFOLD_DEFAULT_REPO` environment variable
76
76
77
77
```bash
78
-
SKAFFOLD_DEFAULT_REPO=<myrepo> skaffold dev
78
+
SKAFFOLD_DEFAULT_REPO=<myrepo> skaffold dev
79
79
```
80
80
81
-
1. Via Skaffold's global config
81
+
1. Via Skaffold's global config
82
82
83
83
```bash
84
84
skaffold config set default-repo <myrepo>
85
85
```
86
86
87
-
If Skaffold doesn't find `default-repo`, there is no automated image name rewriting.
87
+
If Skaffold doesn't find `default-repo`, there is no automated image name rewriting.
88
88
89
-
The image name rewriting strategies are designed to be *conflict-free*:
89
+
The image name rewriting strategies are designed to be *conflict-free*:
90
90
the full image name is rewritten on top of the default-repo so similar image names don't collide in the base namespace (e.g.: repo1/example and repo2/example would collide in the target_namespace/example without this)
91
91
92
-
Automated image name rewriting strategies are determined based on the default-repo and the original image repository:
92
+
Automated image name rewriting strategies are determined based on the default-repo and the original image repository:
93
93
94
94
* default-repo does not begin with gcr.io
95
95
* **strategy**: escape & concat & truncate to 256
96
-
96
+
97
97
```
98
98
original image: gcr.io/k8s-skaffold/skaffold-example1
0 commit comments