fix(storj-node): run as root so migrations can complete (#2187)
* fix(storj-node): run as root so migrations can complete * notes * note 2 * notes
This commit is contained in:
@@ -20,7 +20,7 @@ sources:
|
||||
- https://github.com/storj/storj
|
||||
- https://docs.storj.io/node/
|
||||
- https://hub.docker.com/r/storjlabs/storagenode
|
||||
version: 1.0.2
|
||||
version: 1.0.3
|
||||
annotations:
|
||||
truecharts.org/catagories: |
|
||||
- media
|
||||
|
||||
@@ -462,7 +462,7 @@ questions:
|
||||
label: "ReadOnly Root Filesystem"
|
||||
schema:
|
||||
type: boolean
|
||||
default: true
|
||||
default: false
|
||||
- variable: allowPrivilegeEscalation
|
||||
label: "Allow Privilege Escalation"
|
||||
schema:
|
||||
@@ -472,7 +472,7 @@ questions:
|
||||
label: "runAsNonRoot"
|
||||
schema:
|
||||
type: boolean
|
||||
default: true
|
||||
default: false
|
||||
# Include{securityContextAdvanced}
|
||||
|
||||
- variable: podSecurityContext
|
||||
@@ -487,13 +487,13 @@ questions:
|
||||
description: "The UserID of the user running the application"
|
||||
schema:
|
||||
type: int
|
||||
default: 568
|
||||
default: 0
|
||||
- variable: runAsGroup
|
||||
label: "runAsGroup"
|
||||
description: The groupID this App of the user running the application"
|
||||
schema:
|
||||
type: int
|
||||
default: 568
|
||||
default: 0
|
||||
- variable: fsGroup
|
||||
label: "fsGroup"
|
||||
description: "The group that should own ALL storage."
|
||||
|
||||
@@ -3,9 +3,17 @@ image:
|
||||
tag: v1.50.2@sha256:0e864b2acfeadf798a85bc2233b779be9bd69010cff005ab4911bb6eacb11c2e
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
securityContext:
|
||||
runAsNonRoot: false
|
||||
readOnlyRootFilesystem: false
|
||||
|
||||
podSecurityContext:
|
||||
runAsUser: 0
|
||||
runAsGroup: 0
|
||||
secret:
|
||||
WALLET: "walletaddress"
|
||||
|
||||
|
||||
env:
|
||||
SETUP: true
|
||||
EMAIL: ""
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
# Default Username/Password
|
||||
|
||||
__email__: `admin`
|
||||
__password__: `admin`
|
||||
@@ -0,0 +1,4 @@
|
||||
# Default Username/Password
|
||||
|
||||
__email__: `admin`
|
||||
__password__: `password`
|
||||
Reference in New Issue
Block a user