Skip to content

Commit 293b6c3

Browse files
authored
151 pr 149 forces initcontainers for everyone (#152)
* Fix bug #151 * Bump versions * After test * Update doc * Fixes #151 * Fixes #151
1 parent 80ba74e commit 293b6c3

13 files changed

+33
-35
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ Read Helm's official [Charts Development Guide][helm-development].
1717
## Testing
1818

1919
```
20-
./test.sh
20+
./helm-test.sh
2121
```

dotnet/Chart.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
apiVersion: v2
22
description: .NET Core Helm Chart
33
name: dotnet
4-
version: 13.0.1
4+
version: 13.1.1
55
dependencies:
66
- name: libchart
7-
version: 4.1.0
7+
version: 4.1.1
88
repository: file://../libchart

golang/Chart.lock

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
dependencies:
22
- name: libchart
33
repository: file://../libchart
4-
version: 0.3.0
5-
digest: sha256:e51db0ee894288ecbe88427507cf23b80d5f5449c5f47d27044675537092ca49
6-
generated: "2022-02-17T17:13:18.1276499+01:00"
4+
version: 4.1.1
5+
digest: sha256:a0d373dba375b132066231779128bed30eccc46cb8c76e8f38949b42ccdaf919
6+
generated: "2024-08-21T10:45:20.463196+02:00"

golang/Chart.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
apiVersion: v2
22
description: golan Helm Chart
33
name: golang
4-
version: 17.0.1
4+
version: 17.1.1
55
dependencies:
66
- name: libchart
7-
version: 4.1.0
7+
version: 4.1.1
88
repository: file://../libchart

helm-test.sh

+1
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,4 @@ for chart in */Chart.yaml; do
2121
rm -rf data temp
2222
}
2323
done
24+

java/Chart.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
apiVersion: v2
22
description: Java Helm Chart
33
name: java
4-
version: 10.1.0
4+
version: 10.1.1
55
dependencies:
66
- name: libchart
7-
version: 4.1.0
7+
version: 4.1.1
88
repository: file://../libchart

java/values.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ image:
1414
# - secret1
1515
# - secret2
1616

17-
initContainers:
18-
- name: network-proxy
19-
image: network-proxy:1.0
20-
restartPolicy: Always
17+
initContainers: {}
18+
# - name: network-proxy
19+
# image: network-proxy:1.0
20+
# restartPolicy: Always
2121

2222
nameOverride: ""
2323
fullnameOverride: ""

libchart/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type: library
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 4.1.0
18+
version: 4.1.1
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to

libchart/values.yaml

+4-7
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ image:
1515
# - secret1
1616
# - secret2
1717

18-
initContainers:
19-
- name: network-proxy
20-
image: network-proxy:1.0
21-
restartPolicy: Always
18+
initContainers: {}
19+
# - name: network-proxy
20+
# image: network-proxy:1.0
21+
# restartPolicy: Always
2222

2323
nameOverride: ""
2424
fullnameOverride: ""
@@ -202,8 +202,5 @@ volumes: []
202202
# - key: ssh-pub-key
203203
# path: id_rsa.pub
204204

205-
autoscaling:
206-
enabled: false
207-
208205
# https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/
209206
dnsConfig: {}

nodejs/Chart.lock

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
dependencies:
22
- name: libchart
33
repository: file://../libchart
4-
version: 0.3.0
5-
digest: sha256:e51db0ee894288ecbe88427507cf23b80d5f5449c5f47d27044675537092ca49
6-
generated: "2022-02-17T17:15:23.372119587+01:00"
4+
version: 4.1.1
5+
digest: sha256:a0d373dba375b132066231779128bed30eccc46cb8c76e8f38949b42ccdaf919
6+
generated: "2024-08-21T10:45:25.684476+02:00"

nodejs/Chart.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
apiVersion: v2
22
description: Node.js Helm Chart
33
name: nodejs
4-
version: 17.0.1
4+
version: 17.1.1
55
dependencies:
66
- name: libchart
7-
version: 4.1.0
7+
version: 4.1.1
88
repository: file://../libchart

policy/base_test.rego

+6-6
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ no_violations {
88
empty(deny)
99
}
1010

11-
no_warnings {
12-
empty(warn)
13-
}
11+
# no_warnings {
12+
# empty(warn)
13+
# }
1414

1515
test_deployment_without_security_context {
1616
deny["Containers must not run as root in Deployment sample"] with input as {"kind": "Deployment", "metadata": { "name": "sample" }}
@@ -26,6 +26,6 @@ test_services_not_denied {
2626
no_violations with input as {"kind": "Service", "metadata": { "name": "sample" }}
2727
}
2828

29-
test_services_issue_warning {
30-
warn["Found service sample but services are not allowed"] with input as {"kind": "Service", "metadata": { "name": "sample" }}
31-
}
29+
# test_services_issue_warning {
30+
# warn["Found service sample but services are not allowed"] with input as {"kind": "Service", "metadata": { "name": "sample" }}
31+
# }

web/Chart.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ apiVersion: v2
22
appVersion: "1.0"
33
description: Helm chart for deployment of web servers
44
name: web
5-
version: 14.0.1
5+
version: 14.1.1
66
dependencies:
77
- name: libchart
8-
version: 4.1.0
8+
version: 4.1.1
99
repository: file://../libchart

0 commit comments

Comments
 (0)