Skip to content

Commit

Permalink
[bitnami/spark] Detect non-standard images (#30947)
Browse files Browse the repository at this point in the history
* [bitnami/spark] Detect non-standard images

Signed-off-by: Carlos Rodríguez Hernández <[email protected]>

* Modify NOTES.txt

Signed-off-by: Carlos Rodríguez Hernández <[email protected]>

* Update CHANGELOG.md

Signed-off-by: Bitnami Containers <[email protected]>

* Update README.md with readme-generator-for-helm

Signed-off-by: Bitnami Containers <[email protected]>

---------

Signed-off-by: Carlos Rodríguez Hernández <[email protected]>
Signed-off-by: Bitnami Containers <[email protected]>
Co-authored-by: Bitnami Containers <[email protected]>
  • Loading branch information
carrodher and bitnami-bot authored Dec 10, 2024
1 parent 5d1a731 commit 85f0c77
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 14 deletions.
8 changes: 6 additions & 2 deletions bitnami/spark/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
# Changelog

## 9.2.14 (2024-11-08)
## 9.3.0 (2024-12-10)

* [bitnami/spark] Unify seLinuxOptions default value ([#30326](https://github.com/bitnami/charts/pull/30326))
* [bitnami/spark] Detect non-standard images ([#30947](https://github.com/bitnami/charts/pull/30947))

## <small>9.2.14 (2024-11-08)</small>

* [bitnami/spark] Unify seLinuxOptions default value (#30326) ([f47256e](https://github.com/bitnami/charts/commit/f47256e1c1d90eecb1850ca453568e9c8990ea5c)), closes [#30326](https://github.com/bitnami/charts/issues/30326)

## <small>9.2.13 (2024-11-04)</small>

Expand Down
6 changes: 3 additions & 3 deletions bitnami/spark/Chart.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
dependencies:
- name: common
repository: oci://registry-1.docker.io/bitnamicharts
version: 2.26.0
digest: sha256:5ff7837915aef0067bd32271ee2b10c990774c16c4b6fe0a7c5eb6e53530ce08
generated: "2024-11-04T11:34:59.496712244Z"
version: 2.28.0
digest: sha256:5b30f0fa07bb89b01c55fd6258c8ce22a611b13623d4ad83e8fdd1d4490adc74
generated: "2024-12-10T17:29:59.833241+01:00"
2 changes: 1 addition & 1 deletion bitnami/spark/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ maintainers:
name: spark
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/spark
version: 9.2.14
version: 9.3.0
19 changes: 12 additions & 7 deletions bitnami/spark/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,13 +177,14 @@ As an alternative, you can use the preset configurations for pod affinity, pod a

### Global parameters

| Name | Description | Value |
| ----------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------ |
| `global.imageRegistry` | Global Docker image registry | `""` |
| `global.imagePullSecrets` | Global Docker registry secret names as an array | `[]` |
| `global.defaultStorageClass` | Global default StorageClass for Persistent Volume(s) | `""` |
| `global.storageClass` | DEPRECATED: use global.defaultStorageClass instead | `""` |
| `global.compatibility.openshift.adaptSecurityContext` | Adapt the securityContext sections of the deployment to make them compatible with Openshift restricted-v2 SCC: remove runAsUser, runAsGroup and fsGroup and let the platform use their allowed default IDs. Possible values: auto (apply if the detected running cluster is Openshift), force (perform the adaptation always), disabled (do not perform adaptation) | `auto` |
| Name | Description | Value |
| ----------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------- |
| `global.imageRegistry` | Global Docker image registry | `""` |
| `global.imagePullSecrets` | Global Docker registry secret names as an array | `[]` |
| `global.defaultStorageClass` | Global default StorageClass for Persistent Volume(s) | `""` |
| `global.storageClass` | DEPRECATED: use global.defaultStorageClass instead | `""` |
| `global.security.allowInsecureImages` | Allows skipping image verification | `false` |
| `global.compatibility.openshift.adaptSecurityContext` | Adapt the securityContext sections of the deployment to make them compatible with Openshift restricted-v2 SCC: remove runAsUser, runAsGroup and fsGroup and let the platform use their allowed default IDs. Possible values: auto (apply if the detected running cluster is Openshift), force (perform the adaptation always), disabled (do not perform adaptation) | `auto` |

### Common parameters

Expand Down Expand Up @@ -511,6 +512,10 @@ Find more information about how to deal with common errors related to Bitnami's

## Upgrading

### To 9.3.0

This version introduces image verification for security purposes. To disable it, set `global.security.allowInsecureImages` to `true`. More details at [GitHub issue](https://github.com/bitnami/charts/issues/30850).

### To 9.0.0

This major bump changes the following security defaults:
Expand Down
3 changes: 2 additions & 1 deletion bitnami/spark/templates/NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,5 @@ In order to replicate the container startup scripts execute this command:
{{ include "spark.checkRollingTags" . }}
{{ include "spark.validateValues" . }}
{{- include "common.warnings.resources" (dict "sections" (list "master" "security.ssl" "worker") "context" $) }}
{{- include "common.warnings.modifiedImages" (dict "images" (list .Values.image) "context" $) }}
{{- include "common.warnings.modifiedImages" (dict "images" (list .Values.image) "context" $) }}
{{- include "common.errors.insecureImages" (dict "images" (list .Values.image) "context" $) }}
5 changes: 5 additions & 0 deletions bitnami/spark/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ global:
imagePullSecrets: []
defaultStorageClass: ""
storageClass: ""
## Security parameters
##
security:
## @param global.security.allowInsecureImages Allows skipping image verification
allowInsecureImages: false
## Compatibility adaptations for Kubernetes platforms
##
compatibility:
Expand Down

0 comments on commit 85f0c77

Please sign in to comment.