Skip to content

Commit

Permalink
fix: values helm
Browse files Browse the repository at this point in the history
  • Loading branch information
lpsm-dev committed Feb 23, 2023
1 parent e1a2a2e commit 120f3ee
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 13 deletions.
13 changes: 7 additions & 6 deletions infra/kubernetes/helm/README.md
Expand Up @@ -27,19 +27,20 @@ A Helm chart for XMRig Monero Miner
| autoscaling.targetCPUUtilizationPercentage | int | `80` | |
| fullnameOverride | string | `""` | |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.repository | string | `"ghcr.io/ci-monk/docker-xmrig-miner"` | |
| image.repository | string | `"xmrig"` | |
| image.tag | string | `"main"` | |
| imagePullSecrets | list | `[]` | |
| nameOverride | string | `""` | |
| nodeSelector | object | `{}` | |
| podAnnotations | object | `{}` | |
| podSecurityContext | object | `{}` | |
| replicaCount | int | `3` | |
| resources.limits.cpu | string | `"2000m"` | |
| resources.limits.memory | string | `"2Gi"` | |
| resources.requests.cpu | string | `"100m"` | |
| resources.requests.memory | string | `"1Gi"` | |
| securityContext | object | `{}` | |
| resources.limits.cpu | string | `"100m"` | |
| resources.limits.memory | string | `"252Mi"` | |
| resources.requests.cpu | string | `"10m"` | |
| resources.requests.memory | string | `"128Mi"` | |
| securityContext.allowPrivilegeEscalation | bool | `false` | |
| securityContext.readOnlyRootFilesystem | bool | `true` | |
| tolerations | list | `[]` | |

----------------------------------------------
Expand Down
10 changes: 3 additions & 7 deletions infra/kubernetes/helm/values.yaml
Expand Up @@ -19,13 +19,9 @@ podAnnotations: {}
podSecurityContext: {}
# fsGroup: 2000

securityContext: {}
# capabilities:
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
securityContext:
readOnlyRootFilesystem: true
allowPrivilegeEscalation: false

resources:
# We usually recommend not to specify default resources and to leave this as a conscious
Expand Down

0 comments on commit 120f3ee

Please sign in to comment.