From c9bb8128aaccae9cf7d86aff68c3fab24d49c2c0 Mon Sep 17 00:00:00 2001 From: Kjeld Schouten-Lebbing Date: Tue, 26 Jul 2022 12:03:10 +0200 Subject: [PATCH] fix(charts): Fix inline comments that break linting (#3305) * fix(charts): Fix inline comments that break linting * vaultwarden fixes --- charts/stable/airsonic/values.yaml | 4 +- charts/stable/deconz/values.yaml | 3 +- charts/stable/loki/values.yaml | 2 +- charts/stable/octoprint/values.yaml | 8 ++- charts/stable/scrutiny/values.yaml | 6 +- charts/stable/synapse/values.yaml | 4 +- .../stable/vaultwarden/ci/ingress-values.yaml | 61 ------------------- charts/stable/vaultwarden/values.yaml | 12 ++-- 8 files changed, 27 insertions(+), 73 deletions(-) diff --git a/charts/stable/airsonic/values.yaml b/charts/stable/airsonic/values.yaml index f6e84e23ac8..b0d3944b59b 100644 --- a/charts/stable/airsonic/values.yaml +++ b/charts/stable/airsonic/values.yaml @@ -12,7 +12,9 @@ podSecurityContext: runAsGroup: 0 env: - CONTEXT_PATH: # "url-base" + # -- sets the context path parameter + # Example: "url-base" + CONTEXT_PATH: JAVA_OPTS: service: diff --git a/charts/stable/deconz/values.yaml b/charts/stable/deconz/values.yaml index 1e84d71332e..4ebca317aaf 100644 --- a/charts/stable/deconz/values.yaml +++ b/charts/stable/deconz/values.yaml @@ -16,7 +16,8 @@ secretEnv: env: # -- Override the location where deCONZ looks for the RaspBee/Conbee device. - DECONZ_DEVICE: "" # /dev/ttyUSB0 + # Example: /dev/ttyUSB0 + DECONZ_DEVICE: "" DECONZ_UPNP: 0 DECONZ_START_VERBOSE: 0 # -- Enable VNC access to the container to view the deCONZ ZigBee mesh diff --git a/charts/stable/loki/values.yaml b/charts/stable/loki/values.yaml index fd91c738ad3..f3982190901 100644 --- a/charts/stable/loki/values.yaml +++ b/charts/stable/loki/values.yaml @@ -107,7 +107,7 @@ config: boltdb_shipper: active_index_directory: /data/loki/boltdb-shipper-active cache_location: /data/loki/boltdb-shipper-cache - cache_ttl: 24h # Can be increased for faster performance over longer query periods, uses more disk space + cache_ttl: 24h shared_store: filesystem filesystem: directory: /data/loki/chunks diff --git a/charts/stable/octoprint/values.yaml b/charts/stable/octoprint/values.yaml index 1117e84e44d..c1f33cd4fc3 100644 --- a/charts/stable/octoprint/values.yaml +++ b/charts/stable/octoprint/values.yaml @@ -12,8 +12,12 @@ podSecurityContext: env: ENABLE_MJPG_STREAMER: "true" - MJPG_STREAMER_INPUT: # "-y -n -r 640x480" - CAMERA_DEV: # /dev/video0 + # -- sets the Mjpg stream imput parameters + # Example "-y -n -r 640x480" + MJPG_STREAMER_INPUT: + # -- sets the camera dev parameters + # Example "/dev/video0" + CAMERA_DEV: service: main: diff --git a/charts/stable/scrutiny/values.yaml b/charts/stable/scrutiny/values.yaml index fa2171e8893..d58f8cc3dfd 100644 --- a/charts/stable/scrutiny/values.yaml +++ b/charts/stable/scrutiny/values.yaml @@ -9,9 +9,11 @@ securityContext: privileged: true allowPrivilegeEscalation: true capabilities: + # RawIO is for HDDs + # SYS_ADMIN is for NVMEs add: - - SYS_RAWIO # HDD's - - SYS_ADMIN # NVME's + - SYS_RAWIO + - SYS_ADMIN env: COLLECTOR_CRON_SCHEDULE: "0 0 * * *" diff --git a/charts/stable/synapse/values.yaml b/charts/stable/synapse/values.yaml index 3cceaa5f48d..63bf84716b0 100644 --- a/charts/stable/synapse/values.yaml +++ b/charts/stable/synapse/values.yaml @@ -297,7 +297,9 @@ mail: riotUrl: "" host: "" - port: 25 # SSL: 465, STARTTLS: 587 + # -- Sets the smtp port + # SSL: 465, STARTTLS: 587 + port: 25 username: "" password: "" requireTransportSecurity: true diff --git a/charts/stable/vaultwarden/ci/ingress-values.yaml b/charts/stable/vaultwarden/ci/ingress-values.yaml index 24db682e32a..961f466bd75 100644 --- a/charts/stable/vaultwarden/ci/ingress-values.yaml +++ b/charts/stable/vaultwarden/ci/ingress-values.yaml @@ -5,64 +5,3 @@ ingress: main: # -- Enables or disables the ingress enabled: true - - # -- Make this the primary ingress (used in probes, notes, etc...). - # If there is more than 1 ingress, make sure that only 1 ingress is marked as primary. - primary: true - - # -- Override the name suffix that is used for this ingress. - nameOverride: - - # -- List of middlewares in the traefikmiddlewares k8s namespace to add automatically - # Creates an annotation with the middlewares and appends k8s and traefik namespaces to the middleware names - # Primarily used for TrueNAS SCALE to add additional (seperate) middlewares without exposing them to the end-user - fixedMiddlewares: - - chain-basic - - # -- Additional List of middlewares in the traefikmiddlewares k8s namespace to add automatically - # Creates an annotation with the middlewares and appends k8s and traefik namespaces to the middleware names - middlewares: [] - annotationsList: [] - # - name: somename - # value: somevalue - # -- Provide additional annotations which may be required. - annotations: - {} - # kubernetes.io/ingress.class: nginx - # kubernetes.io/tls-acme: "true" - - labelsList: [] - # - name: somename - # value: somevalue - # -- Set labels on the deployment/statefulset/daemonset - # -- Provide additional labels which may be required. - # -- Provide additional labels which may be required. - labels: {} - - # -- Set the ingressClass that is used for this ingress. - # Requires Kubernetes >=1.19 - ingressClassName: # "nginx" - - ## Configure the hosts for the ingress - hosts: - - # -- Host address. Helm template can be passed. - host: chart-example.local - ## Configure the paths for the host - paths: - - # -- Path. Helm template can be passed. - path: / - # -- Ignored if not kubeVersion >= 1.14-0 - pathType: Prefix - service: - # -- Overrides the service name reference for this path - name: - # -- Overrides the service port reference for this path - targetPort: - - # -- Configure TLS for the ingress. Both secretName and hosts can process a Helm template. - tls: [] - # - secretName: chart-example-tls - # -- Create a secret from a GUI selected TrueNAS SCALE certificate - # scaleCert: true - # hosts: - # - chart-example.local diff --git a/charts/stable/vaultwarden/values.yaml b/charts/stable/vaultwarden/values.yaml index a525cdc95b8..596099dcd19 100644 --- a/charts/stable/vaultwarden/values.yaml +++ b/charts/stable/vaultwarden/values.yaml @@ -31,9 +31,11 @@ envFrom: name: vaultwardensecret database: - # Database type, must be one of: 'sqlite', 'mysql' or 'postgresql'. + # -- Database type, + # must be one of: 'sqlite', 'mysql' or 'postgresql'. type: postgresql - # Enable DB Write-Ahead-Log for SQLite, disabled for other databases. https://github.com/dani-garcia/bitwarden_rs/wiki/Running-without-WAL-enabled + # -- Enable DB Write-Ahead-Log for SQLite, + # disabled for other databases. https://github.com/dani-garcia/bitwarden_rs/wiki/Running-without-WAL-enabled wal: true ## URL for external databases (mysql://user:pass@host:port or postgresql://user:pass@host:port). # url: "" @@ -44,12 +46,14 @@ database: # Set Bitwarden_rs application variables vaultwarden: - # Allow any user to sign-up: https://github.com/dani-garcia/bitwarden_rs/wiki/Disable-registration-of-new-users + # -- Allow any user to sign-up + # see: https://github.com/dani-garcia/bitwarden_rs/wiki/Disable-registration-of-new-users allowSignups: true ## Whitelist domains allowed to sign-up. 'allowSignups' is ignored if set. # signupDomains: # - domain.tld - # Verify e-mail before login is enabled. SMTP must be enabled. + # -- Verify e-mail before login is enabled. + # SMTP must be enabled. verifySignup: false # When a user logs in an email is required to be sent. If sending the email fails the login attempt will fail. SMTP must be enabled. requireEmail: false