GoogleContainerTools / GoogleContainerTools/skaffold
skaffold 2 with multiple deployers kubectl and helm in one time config values in skaffold.yaml
- Dominant language
- Go
- Stars
- 15.9k
- Forks
- 1.7k
- Avg merge
- 3d 9h
- Merged PRs (30d)
- 10
Description
### Expected behavior
Apply kubectl manifests raw yaml and than helm install command
### Actual behavior
only helm install command is running
### Information
- Skaffold version: 2.13.0
- Operating system: MacOS
- Installed via: Homebrew
- Contents of skaffold.yaml:
```yaml
apiVersion: skaffold/v4beta11
kind: Config
metadata:
name: microservice
build:
tagPolicy:
gitCommit:
variant: CommitSha
artifacts:
- image: nexus.corp.us:8081/microservice
jib:
args: [
"-D", "jib.container.mainClass=org.sample.Application",
]
manifests:
rawYaml:
- kubernetes/configmap.yml
deploy:
helm:
releases:
- name: microservice
remoteChart: http://someurl.corp.com/chart/archive.tar.gz
namespace: appnamespace
valuesFiles:
- kubernetes/values.yaml
setValues:
image: nexus.corp.us:8081/microservice
imageConfig.pullPolicy: Always
debug: true
wait: true
recreatePods: true
```
### Steps to reproduce the behavior
1. skaffold dev --port-forward --cleanup=true -n appnamespace --filename=skaffold.yaml
i have been tryed also set manifests yaml to apply first like this:
```
manifests:
rawYaml:
- kubernetes/configmap.yml
deploy:
kubectl: {}
helm:
releases:
```
not helps
tryed like this
```
manifests:
rawYaml:
- kubernetes/configmap.yml
deploy:
kubectl:
manifests:
- kubernetes/configmap.yml
helm:
releases:
```
gives error yaml skaffold validation that manifests not fould - "field manifests not found in type latest.KubectlDeploy"
So could someone help please what is correct yaml config value for multiple deployers in skaffold.yaml for running first kubectl apply file command and after that helm install command?
found this issue for old version - https://github.com/GoogleContainerTools/skaffold/pull/3392
this code was not in current repo skaffold
and this request - https://github.com/GoogleContainerTools/skaffold/issues/4231
Contributor guide
Assessment
This issue has not been assessed yet.