Azure / Azure/azure-functions-core-tools
Running `func kubernetes deploy...` only creates secret with V4 model
- Dominant language
- C#
- Stars
- 1.5k
- Forks
- 498
- Avg merge
- 4d 20h
- Merged PRs (30d)
- 14
Description
This is with the Node.js runtime V4 model
I made a repo to reproduce the issue here -> https://github.com/krackergraham/az-func-k8s-deploy-error
How to reproduce
1. `func init --docker --worker-runtime node --language typescript`
1. `func new --name httpTrigger --template "HTTP trigger" --authlevel "anonymous"`
1. `func kubernetes deploy --name myfunc --namespace --registry --write-configs`
1. or with `--dry-run` instead of `--write-configs`
Tooling
```
➜ func version
4.0.5455
```
```
➜ az version
{
"azure-cli": "2.56.0",
"azure-cli-core": "2.56.0",
"azure-cli-telemetry": "1.1.0",
"extensions": {}
}
```
Possibly relates to #3381 #3579
Contributor guide
Research direction
Reproduce the issue with the commands in the report, using the linked repository and comparing --write-configs with --dry-run for the Node.js V4 model. No source files or tests are named, so trace the func kubernetes deploy entry point and determine why the generated output contains only a secret; done means the deployment configuration is generated as expected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, kubernetes, node.js, typescript
- Domain
- cli, devops, infrastructure
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100