Skip to content

Commit

Permalink
Revert "Remove rather specific default for podSecurityContext for solr"
Browse files Browse the repository at this point in the history
This reverts commit 313c09c.
  • Loading branch information
BWibo committed Nov 2, 2023
1 parent cd62642 commit 197a826
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion charts/sddi-ckan/charts/solr/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ A Helm chart for Solr pre-configured for CKAN and ckanext-spatial.
| persistence.capacity | string | `"4Gi"` | Storage [capacity](https://kubernetes.io/docs/concepts/storage/persistent-volumes/#capacity) |
| persistence.storageClassName | string | `nil` | StorageClass to use, leave empty to use default StorageClass. |
| podAnnotations | object | `{}` | Additional pod annotations |
| podSecurityContext | object | `{}` | [k8s: Security context](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/) |
| podSecurityContext | object | `{"fsGroup":8983,"runAsGroup":8983,"runAsUser":8983}` | [k8s: Security context](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/) |
| resources | object | `{}` | [k8s: Resource management](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/) |
| securityContext | object | `{}` | [k8s: Security context](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/) |
| service.port | int | `8983` | Service port for http |
Expand Down
8 changes: 4 additions & 4 deletions charts/sddi-ckan/charts/solr/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ serviceAccount:
name: ""

# -- [k8s: Security context](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/)
podSecurityContext: {}
# runAsUser: 8983
# runAsGroup: 8983
# fsGroup: 8983
podSecurityContext:
runAsUser: 8983
runAsGroup: 8983
fsGroup: 8983

# -- [k8s: Security context](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/)
securityContext: {}
Expand Down

0 comments on commit 197a826

Please sign in to comment.