Skip to content

Commit 33766ff

Browse files
feat: upgraded projen, node problem detector and vpc cni version (#41)
1 parent 1d60941 commit 33766ff

14 files changed

Lines changed: 1327 additions & 1238 deletions

File tree

.eslintrc.json

Lines changed: 31 additions & 42 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/release.yml

Lines changed: 2 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/upgrade-main.yml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

API.md

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/helmCharts/node-problem-detector/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ name: node-problem-detector
2222
sources:
2323
- https://github.com/kubernetes/node-problem-detector
2424
- https://kubernetes.io/docs/concepts/architecture/nodes/#condition
25-
version: 2.3.18
25+
version: 2.3.21

assets/helmCharts/node-problem-detector/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# node-problem-detector
22

3-
![Version: 2.3.18](https://img.shields.io/badge/Version-2.3.18-informational?style=flat-square) ![AppVersion: v0.8.20](https://img.shields.io/badge/AppVersion-v0.8.20-informational?style=flat-square)
3+
![Version: 2.3.21](https://img.shields.io/badge/Version-2.3.21-informational?style=flat-square) ![AppVersion: v0.8.20](https://img.shields.io/badge/AppVersion-v0.8.20-informational?style=flat-square)
44

55
This chart installs a [node-problem-detector](https://github.com/kubernetes/node-problem-detector) daemonset. This tool aims to make various node problems visible to the upstream layers in cluster management stack. It is a daemon which runs on each node, detects node problems and reports them to apiserver.
66

@@ -17,7 +17,7 @@ helm install --generate-name oci://ghcr.io/deliveryhero/helm-charts/node-problem
1717
To install a specific version of this chart:
1818

1919
```console
20-
helm install --generate-name oci://ghcr.io/deliveryhero/helm-charts/node-problem-detector --version 2.3.18
20+
helm install --generate-name oci://ghcr.io/deliveryhero/helm-charts/node-problem-detector --version 2.3.21
2121
```
2222

2323
To install the chart with the release name `my-release`:
@@ -49,6 +49,7 @@ helm install my-release oci://ghcr.io/deliveryhero/helm-charts/node-problem-dete
4949
|-----|------|---------|-------------|
5050
| affinity | object | `{}` | |
5151
| annotations | object | `{}` | |
52+
| dnsConfig | object | `{}` | |
5253
| dnsPolicy | string | `"ClusterFirst"` | |
5354
| env | string | `nil` | |
5455
| extraContainers | list | `[]` | |
@@ -99,6 +100,7 @@ helm install my-release oci://ghcr.io/deliveryhero/helm-charts/node-problem-dete
99100
| tolerations[0].effect | string | `"NoSchedule"` | |
100101
| tolerations[0].operator | string | `"Exists"` | |
101102
| updateStrategy | string | `"RollingUpdate"` | Manage the daemonset update strategy |
103+
| volume.localtime.enabled | bool | `true` | |
102104
| volume.localtime.type | string | `"FileOrCreate"` | |
103105

104106
## Maintainers

assets/helmCharts/node-problem-detector/templates/daemonset.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ spec:
4545
hostNetwork: {{ .Values.hostNetwork }}
4646
hostPID: {{ .Values.hostPID }}
4747
dnsPolicy: {{ .Values.dnsPolicy }}
48+
{{- if .Values.dnsConfig }}
49+
dnsConfig: {{ toYaml .Values.dnsConfig | nindent 8 }}
50+
{{- end }}
4851
terminationGracePeriodSeconds: 30
4952
{{- if .Values.priorityClassName }}
5053
priorityClassName: {{ .Values.priorityClassName | quote }}
@@ -77,9 +80,11 @@ spec:
7780
- name: log
7881
mountPath: {{ default (default "/var/log/" .Values.logDir.host) .Values.logDir.pod }}
7982
readOnly: true
83+
{{- if ((.Values.volume).localtime).enabled }}
8084
- name: localtime
8185
mountPath: /etc/localtime
8286
readOnly: true
87+
{{- end }}
8388
- name: custom-config
8489
mountPath: /custom-config
8590
readOnly: true
@@ -110,10 +115,12 @@ spec:
110115
- name: log
111116
hostPath:
112117
path: {{ default "/var/log/" .Values.logDir.host }}
118+
{{- if ((.Values.volume).localtime).enabled }}
113119
- name: localtime
114120
hostPath:
115121
path: /etc/localtime
116122
type: {{ default "FileOrCreate" .Values.volume.localtime.type }}
123+
{{- end }}
117124
- name: custom-config
118125
configMap:
119126
name: {{ include "node-problem-detector.customConfig" . }}

assets/helmCharts/node-problem-detector/values.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,15 @@ rbac:
7777
hostNetwork: false
7878
hostPID: false
7979
dnsPolicy: "ClusterFirst"
80+
dnsConfig: {}
81+
# options:
82+
# - name: ndots
83+
# value: "2"
84+
# - name: edns0
8085

8186
volume:
8287
localtime:
88+
enabled: true
8389
type: "FileOrCreate"
8490

8591
priorityClassName: system-node-critical

package.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)