forked from pixie-io/pixie
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: This is a sequence of diffs converting our templated YAMLs to Kustomize. This converts skaffold to use Kustomize. More changes to delete old yamls and switch dev environment are coming. Test Plan: Jenkins Reviewers: oazizi, michelle, philkuz, #engineering Reviewed By: oazizi, #engineering Differential Revision: https://phab.corp.pixielabs.ai/D1143 GitOrigin-RevId: 587f21c
- Loading branch information
Showing
4 changed files
with
62 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
apiVersion: skaffold/v1beta8 | ||
kind: Config | ||
build: | ||
artifacts: | ||
- image: gcr.io/pl-dev-infra/customer_docs_prod_image | ||
context: . | ||
bazel: | ||
target: //docs/customer:customer_docs_prod_image.tar | ||
deploy: | ||
kustomize: | ||
path: k8s/customer_docs_dev | ||
profiles: | ||
- name: dev | ||
activation: | ||
- command: dev | ||
patches: | ||
# Don't push images in the dev build. | ||
- op: replace | ||
path: /build | ||
value: | ||
local: | ||
push: false | ||
|
||
- name: nightly | ||
activation: | ||
- env: PL_BUILD_TYPE=nightly | ||
patches: | ||
# Set compilation to be opt build. | ||
- op: add | ||
path: /build/artifacts/context=./bazel/args | ||
value: ["--compilation_mode=opt"] | ||
|
||
- op: set | ||
path: /build/tagPolicy/envTemplate | ||
value: | ||
template: "{{.IMAGE_NAME}}:{{.PL_IMAGE_TAG}}" | ||
|
||
# Set path to be nightly yamls. | ||
- op: replace | ||
path: /deploy/kustomize | ||
value: | ||
path: k8s/customer_docs/nightly |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters