diff --git a/integration/examples/annotated-skaffold.yaml b/integration/examples/annotated-skaffold.yaml index a910a8da00e..f8e65412a4b 100644 --- a/integration/examples/annotated-skaffold.yaml +++ b/integration/examples/annotated-skaffold.yaml @@ -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. @@ -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: {}`. @@ -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: @@ -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. @@ -194,4 +205,3 @@ profiles: build: googleCloudBuild: projectId: k8s-skaffold -