GoogleContainerTools / skaffold

Easy and Repeatable Kubernetes Development
https://skaffold.dev/
Apache License 2.0
15k stars 1.62k forks source link

Auto-Activate Profile by Deployment Type #8749

Open mbeldman opened 1 year ago

mbeldman commented 1 year ago

Expected behavior

Auto-activate a profile based on the project's deployment type, e.g.

- name: sync
  activation:
    - deploy: embeddedserver 
  patches:
      - op: add
        path: /build/artifacts/0/sync.auto
        value: ["true"] 

Actual behavior

This currently doesn't exist. The only options for auto-activate are: skaffold command, kubecontext, and environment variable value

ericzzzzzzz commented 1 year ago

Hi @mbeldman , could you clarify what deployment type is?

mbeldman commented 1 year ago

Hi @mbeldman , could you clarify what deployment type is?

Sure - I was thinking embedded server jar vs. war file