-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Unable to use 2 or more deploy tools in 1 skaffold file #2875
Copy link
Copy link
Closed
Labels
area/deploydeploy/helmdeploy/kubectldeploy/kustomizekind/feature-requestpriority/p2May take a couple of releasesMay take a couple of releases
Description
Following k8s docs want to create secrets with kustomize and use kubectl for other configs.
Expected behavior
No error
Actual behavior
$ skaffold diagnose
FATA[0000] creating runner: invalid skaffold config: only one element in set deploy can be set. got HelmDeploy and KubectlDeployInformation
- Skaffold version: v0.38.0
- Operating system: Mac Os 10.14.6
- Contents of skaffold.yaml:
apiVersion: skaffold/v1beta14
kind: Config
build:
tagPolicy:
envTemplate:
template: "{{.RELEASE}}-{{.IMAGE_NAME}}"
artifacts:
- image: core
context: core
docker:
dockerfile: docker/development/Dockerfile
- image: pubsub_emulator
context: ../pubsub_emulator
docker:
dockerfile: ../pubsub_emulator/Dockerfile
deploy:
kubectl:
manifests:
- support/rbac/endpoints.yaml
- support/pubsub_emulator/k8s.yaml
kustomize:
path: support/env_vars
helm:
releases:
- name: core
chartPath: core/charts/poker-core
valuesFiles:
- core/charts/core/values.yaml
- core/charts/core/values.development.yamlReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area/deploydeploy/helmdeploy/kubectldeploy/kustomizekind/feature-requestpriority/p2May take a couple of releasesMay take a couple of releases