Skip to content
New issue

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

Default annotation is not used when value is null #84

Closed
paullaffitte opened this issue Jan 20, 2021 · 1 comment
Closed

Default annotation is not used when value is null #84

paullaffitte opened this issue Jan 20, 2021 · 1 comment

Comments

@paullaffitte
Copy link

# -- Field description
# @default -- Default value description
field:

Will output: | field | string | `nil` | Field description |

Whereas

# -- Field description
# @default -- Default value description
field: ""

Outputs: | field | string | Default value description | Field description |

@dennisvandehoef
Copy link

The bug seems to be already resolved: a77f2e1

Though in the latest docker image (containing the above-mentioned commit) this still happens.

# -- Main application web-pod's
# @default -- *See single entries  below for details*
appServer:
  disruptionBudget:
    # -- (int) Number of pods allowed to be unavailable (exclusive, not allowed in combination with minAvailable)
    # @default -- `1`
    maxUnavailable: ~

and

# -- Main application web-pod's
# @default -- *See single entries  below for details*
appServer:
  disruptionBudget:
    # -- (int) Number of pods allowed to be unavailable (exclusive, not allowed in combination with minAvailable)
    # @default -- `1`
    maxUnavailable:

both generate:

| Key | Type | Default | Description |
|-----|------|---------|-------------|
| appServer | object | *See single entries  below for details* | Main application web-pod's |
| appServer.disruptionBudget.maxUnavailable | int | `nil` | Number of pods allowed to be unavailable (exclusive, not allowed in combination with minAvailable) |

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants