Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing fields to annotated-skaffold.yaml #1310

Merged
merged 1 commit into from
Nov 23, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 14 additions & 4 deletions integration/examples/annotated-skaffold.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
apiVersion: skaffold/v1beta1
kind: Config
build:
# tagPolicy determines how skaffold is going to tag your images.
# tagPolicy determines how Skaffold is going to tag your images.
# We provide a few strategies here, although you most likely won't need to care!
# The policy can `gitCommit`, `sha256` or `envTemplate`.
# The policy can `gitCommit`, `sha256`, `envTemplate` or `dateTime`.
# If not specified, it defaults to `gitCommit: {}`.
tagPolicy:
# Tag the image with the git commit of your current repository.
Expand Down Expand Up @@ -39,6 +39,11 @@ build:
- image: gcr.io/k8s-skaffold/skaffold-example
# The path to your dockerfile context. Defaults to ".".
context: ../examples/getting-started
# Skaffold can sync local files with remote pods instead
# of rebuilding the whole artifact's image. This is a mapping
# of local files to sync to remote folders.
# sync:
# '*.py': .

# Each artifact is of a given type among: `docker`, `bazel`, `jibMaven` and `jibGradle`.
# If not specified, it defaults to `docker: {}`.
Expand All @@ -59,7 +64,11 @@ build:
# bazel requires bazel CLI to be installed and the artifacts sources to
# contain Bazel configuration files.
# bazel:
# target: //:skaffold_example.tar
# target: //:skaffold_example.tar
# additional args to pass to `bazel build`
# args:
# - "arg1"
# - "arg2"

# jibMaven builds containers using the Jib plugin for Maven.
# jibMaven:
Expand Down Expand Up @@ -122,8 +131,10 @@ build:
# cache:
# repo: gcr.io/my-project/skaffold/cache
# pullSecret: /a/secret/path/serviceaccount.json
# pullSecretName: kaniko-secret
# namespace: default
# timeout: 20m
# image: defaults to the latest released version of `gcr.io/kaniko-project/executor`

# The deploy section has all the information needed to deploy. Along with build:
# it is a required section.
Expand Down Expand Up @@ -194,4 +205,3 @@ profiles:
build:
googleCloudBuild:
projectId: k8s-skaffold