Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Template podmanagementpolicy #54

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/das/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ maintainers:

type: application

version: 0.3.1
version: 0.3.2

appVersion: "v2.3.3-6a1c1a7"
1 change: 1 addition & 0 deletions charts/das/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ extraEnv:
| `serviceAccount.annotations` | Annotations for the service account | `{}` |
| `serviceAccount.name` | Name of the service account | `""` |
| `podAnnotations` | Annotations for the das pod | `{}` |
| `podManagementPolicy` | Pod management policy | `Parallel` |
| `podSecurityContext.fsGroup` | Group id for the pod | `1000` |
| `podSecurityContext.runAsGroup` | Group id for the user | `1000` |
| `podSecurityContext.runAsNonRoot` | Run as non root | `true` |
Expand Down
2 changes: 1 addition & 1 deletion charts/das/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ spec:
selector:
matchLabels:
{{- include "das.selectorLabels" . | nindent 6 }}
podManagementPolicy: Parallel
podManagementPolicy: {{ .Values.podManagementPolicy }}
template:
metadata:
annotations:
Expand Down
3 changes: 3 additions & 0 deletions charts/das/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,9 @@ serviceAccount:
## @param podAnnotations Annotations for the das pod
podAnnotations: {}

## @param podManagementPolicy Pod management policy
podManagementPolicy: Parallel

## @param podSecurityContext.fsGroup Group id for the pod
## @param podSecurityContext.runAsGroup Group id for the user
## @param podSecurityContext.runAsNonRoot Run as non root
Expand Down
2 changes: 1 addition & 1 deletion charts/nitro/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ maintainers:

type: application

version: 0.3.34
version: 0.3.35

appVersion: "v2.3.3-6a1c1a7"
2 changes: 2 additions & 0 deletions charts/nitro/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ helm install xai offchainlabs/nitro -f values.yaml
| `serviceAccount.name` | Name of the service account | `""` |
| `podAnnotations` | Annotations for the pod | `{}` |
| `podLabels` | Labels for the pod | `{}` |
| `podManagementPolicy` | Pod management policy | `Parallel` |
| `podSecurityContext.fsGroup` | Group id for the pod | `1000` |
| `podSecurityContext.runAsGroup` | Group id for the user | `1000` |
| `podSecurityContext.runAsNonRoot` | Run as non root | `true` |
Expand Down Expand Up @@ -200,6 +201,7 @@ helm install xai offchainlabs/nitro -f values.yaml
| `validator.statefulset.extraEnv` | Extra environment variables for the validator container | `{}` |
| `validator.statefulset.extraPorts` | Additional ports for the stateless validator pod | `[]` |
| `validator.statefulset.podAnnotations` | Annotations for the stateless validator pod | `{}` |
| `validator.statefulset.podManagementPolicy` | Pod management policy | `Parallel` |
| `validator.statefulset.priorityClassName` | Priority class name for the stateless validator pod | `""` |

## Configuration Options
Expand Down
2 changes: 1 addition & 1 deletion charts/nitro/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ spec:
selector:
matchLabels:
{{- include "nitro.selectorLabels" . | nindent 6 }}
podManagementPolicy: Parallel
podManagementPolicy: {{ .Values.podManagementPolicy }}
{{- if .Values.updateStrategy }}
{{- with .Values.updateStrategy }}
updateStrategy:
Expand Down
2 changes: 1 addition & 1 deletion charts/nitro/templates/validator/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ spec:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}
podManagementPolicy: Parallel
podManagementPolicy: {{ .Values.validator.statefulset.podManagementPolicy }}
replicas: {{ .Values.replicas }}
serviceName: {{ template "nitro.name" . }}-validator
selector:
Expand Down
6 changes: 6 additions & 0 deletions charts/nitro/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,9 @@ podAnnotations: {}
## @param podLabels Labels for the pod
podLabels: {}

## @param podManagementPolicy Pod management policy
podManagementPolicy: Parallel

## @param podSecurityContext.fsGroup Group id for the pod
## @param podSecurityContext.runAsGroup Group id for the user
## @param podSecurityContext.runAsNonRoot Run as non root
Expand Down Expand Up @@ -341,6 +344,9 @@ validator:
## @param validator.statefulset.podAnnotations Annotations for the stateless validator pod
podAnnotations: {}

## @param validator.statefulset.podManagementPolicy Pod management policy
podManagementPolicy: Parallel

## @param validator.statefulset.priorityClassName Priority class name for the stateless validator pod
priorityClassName: ""

Expand Down
Loading