coredns / coredns/helm

spec.ports required value

Open
#229 3 comments 6 reactions 0 assignees View on GitHub
Dominant language
Mustache
Stars
146
Forks
145
Avg merge
6d 5h
Merged PRs (30d)
2

Description

Maybe I'm missing something, but it looks like `use_tcp: true` is require rather than optional? When left off or set to false, it results in error. Note that `isClusterService: false` is set for what it's worth.

### Reproduce
```yaml
servers:
- zones:
- zone: .
# use_tcp: true
port: 53
```

> Error: UPGRADE FAILED: cannot patch "xyz" with kind Service: Service "xyz" is invalid: spec.ports: Required value

### Workaround
Only way to fix is to require `use_tcp: true`, using `false` results in the same error above.

```yaml
servers:
- zones:
- zone: .
use_tcp: true
port: 53
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.