Skip to content

Commit

Permalink
Remove duplicate resources entries in values.yaml; Document new initC…
Browse files Browse the repository at this point in the history
…ontainerResources param in helm chart's readme
  • Loading branch information
feizhe1996 committed Jun 1, 2024
1 parent 0e4a7a4 commit 9b7148a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
1 change: 1 addition & 0 deletions charts/k8tz/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ If you want to use the helm built-in namespace (`helm --namespace`), you can com
| service.type | Admission controller service type | ClusterIP |
| service.port | Admission controller service port | 443 |
| resources | Resource requests and limitations for the admission controller | {} |
| initContainerResources | Resource requests and limitations for the bootstrap init container | {} |
| nodeSelector | Node selector for the admission controller | {} |
| tolerations | Tolerations for the admission controller | {} |
| topologySpreadConstraints | TopologySpreadConstraints for the admission controller | [] |
Expand Down
12 changes: 10 additions & 2 deletions charts/k8tz/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ injectedInitContainerName: k8tz
injectAll: true
cronJobTimeZone: false # requires kubernetes >=1.24.0-beta.0 with 'CronJobTimeZone' feature gate enabled (alpha)
verbose: false
initContainerResources: {} # resources claimed for the bootstrap init container
resources: {} # resources claimed for the k8tz controller

# Labels to apply to all resources
labels: {}
Expand Down Expand Up @@ -68,6 +66,7 @@ service:
type: ClusterIP
port: 443

# resources claimed for the k8tz controller
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
Expand All @@ -80,6 +79,15 @@ resources: {}
# cpu: 100m
# memory: 128Mi

# resources claimed for the bootstrap init container
initContainerResources: {}
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi

nodeSelector: {}

tolerations: []
Expand Down

0 comments on commit 9b7148a

Please sign in to comment.