Skip to content

Unable to use 2 or more deploy tools in 1 skaffold file #2875

@kvokka

Description

@kvokka

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 KubectlDeploy

Information

  • 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.yaml

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions