Skip to content

Commit

Permalink
revert, pod securityContext (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
zabit-z authored Oct 5, 2023
1 parent 5ac0a63 commit 277c651
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/helm-apps/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: helm-apps
description: A Helm applications library
type: library
version: 1.2.13
version: 1.2.14
maintainers:
- name: alvnukov
url: https://github.com/alvnukov
Expand Down
2 changes: 1 addition & 1 deletion charts/helm-apps/templates/_apps-stateful.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ kind: StatefulSet
spec:
{{- /* https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#statefulset-v1-apps */ -}}
{{- $specs := dict }}
{{- $_ = set $specs "Maps" (list "securityContext" "apps-helpers.podTemplate" "apps-specs.selector" "persistentVolumeClaimRetentionPolicy" "updateStrategy") }}
{{- $_ = set $specs "Maps" (list "apps-helpers.podTemplate" "apps-specs.selector" "persistentVolumeClaimRetentionPolicy" "updateStrategy") }}
{{- $_ = set $specs "Numbers" (list "replicas" "minReadySeconds" "revisionHistoryLimit" "progressDeadlineSeconds") }}
{{- $_ = set $specs "Strings" (list "apps-specs.serviceName" "podManagementPolicy") }}
{{- $_ = set $specs "Lists" (list "apps-specs.volumeClaimTemplates") }}
Expand Down
2 changes: 1 addition & 1 deletion charts/helm-apps/templates/_apps-stateless.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ kind: Deployment
spec:
{{- $specs := dict }}
{{- $_ = set $specs "Numbers" (list "minReadySeconds" "progressDeadlineSeconds" "revisionHistoryLimit" "replicas") }}
{{- $_ = set $specs "Maps" (list "securityContext" "strategy" "apps-helpers.podTemplate" "apps-specs.selector") }}
{{- $_ = set $specs "Maps" (list "strategy" "apps-helpers.podTemplate" "apps-specs.selector") }}
{{- include "apps-utils.generateSpecs" (list $ . $specs) | indent 2 }}

{{- $_ = unset . "__annotations__" }}
Expand Down

0 comments on commit 277c651

Please sign in to comment.