GoogleContainerTools / GoogleContainerTools/skaffold
Profile and require item conflict
- Dominant language
- Go
- Stars
- 15.9k
- Forks
- 1.7k
- Avg merge
- 3d 9h
- Merged PRs (30d)
- 10
Description
This file `skaffold.yaml` is called with
`skaffold run -p eks-operators`
```
apiVersion: skaffold/v4beta11
kind: Config
metadata:
name: gocluster
requires:
# One of many requires
- path: ../../cluster/skaffold/traefik-skaffold.yaml
activeProfiles: &kubeBaseProfiles
- name: dev
activatedBy: [net-dev]
profiles:
- name: net-dev
activation:
- kubeContext: kind-live
env: "INFRA=net"
- name: eks-operators
manifests:
kustomize:
paths:
- ../../aws-eks/storage
deploy:
kubectl: {}
```
Output is
```
No tags generated
Starting test...
Starting deploy...
nothing to deploy
```
But if I save in another file, `operators-skaffold.yaml`
and launch `skaffold run -p eks-operators -f operators-skaffold.yaml`
```
apiVersion: skaffold/v4beta11
kind: Config
metadata:
name: operators-setup
profiles:
- name: eks-operators
manifests:
kustomize:
paths:
## AWS Storage Class + EKS Storage
- ../../aws-eks/storage
deploy:
kubectl: {}
```
It deploys as expected.
In both cases `skaffold render` outputs expected yaml.
What is the issue I am having?
Contributor guide
Assessment
This issue has not been assessed yet.