We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Config:
# skaffold.yaml apiVersion: skaffold/v4beta12 kind: Config metadata: name: cfg requires: - configs: ["cfg2"] --- apiVersion: skaffold/v4beta12 kind: Config metadata: name: cfg2 manifests: rawYaml: - skaffold-namespace.yaml deploy: kubectl:
# skaffold-namespace.yaml apiVersion: v1 kind: Namespace metadata: name: test
Running skaffold dev -vdebug does not create the namespace but instead show this log line:
skaffold dev -vdebug
DEBU[0000] manifests with tagged images:apiVersion: v1 kind: Namespace metadata: name: test subtask=0 task=Render DEBU[0000] manifests with labels apiVersion: v1 kind: Namespace metadata: name: test subtask=-1 task=DevLoop
What I'm trying to achieve is to have a namespace created before deploying releases to that custom namespace, is this not the right approach?
The text was updated successfully, but these errors were encountered:
I don't know why this is, but I ran into a similar thing and found that manifests is no longer a top-level key? https://skaffold.dev/docs/design/config/
manifests
I was able to get this to work using deploy instead, e.g.
deploy
# skaffold.yaml apiVersion: skaffold/v4beta12 kind: Config metadata: name: cfg requires: - configs: ["cfg2"] --- apiVersion: skaffold/v4beta12 kind: Config metadata: name: cfg2 deploy: # instead of manifests rawYaml: - skaffold-namespace.yaml deploy: kubectl:
Sorry, something went wrong.
@mjlshen that doesn't work for me as it returns the error ...mapping key "deploy" already defined...
...mapping key "deploy" already defined...
No branches or pull requests
Config:
Running
skaffold dev -vdebug
does not create the namespace but instead show this log line:What I'm trying to achieve is to have a namespace created before deploying releases to that custom namespace, is this not the right approach?
The text was updated successfully, but these errors were encountered: