Skip to content

[lvm-disk-watcher] Incorrect path to watch_lvm.sh #558

@n-rosati

Description

@n-rosati

Chart Name

lvm-disk-watcher

Operating System

Talos 1.11.5

Deployment Method

FluxCD

Chart Version

4.2.1

Kubernetes Events

Back-off restarting failed container lvm-disk-watcher in pod lvm-disk-watcher-cfh62_lvm-disk-watcher(399e51ff-a56a-464b-b7c3-d5feee06cee9)

Chart Logs

/bin/bash: /scripts/watch_lvm.sh: No such file or directory

Chart Configuration

apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: lvm-disk-watcher
namespace: lvm-disk-watcher
spec:
interval: 5m
releaseName: lvm-disk-watcher
chart:
spec:
chart: lvm-disk-watcher
version: 4.2.1
sourceRef:
kind: HelmRepository
name: truecharts
namespace: flux-system
install:
createNamespace: true
crds: CreateReplace
remediation:
retries: 3
upgrade:
crds: CreateReplace
remediation:
retries: 3
values: {}

Describe the bug

The path to the watch_lvm.sh is incorrect. /scripts does not exist. In the app's Dockerfile the working directory is set to /app but the entrypoint is /scripts (

WORKDIR /app
ENTRYPOINT ["/bin/bash", "/scripts/watch_lvm.sh"]
)

To Reproduce

  1. Deploy latest chart version 4.2.1

Expected Behavior

The watch_lvm.sh script should be run

Screenshots

No response

Additional Context

No response

I've read and agree with the following

  • I've checked all open and closed issues and my issue is not there.
  • I've prefixed my issue title with [Chart-Name]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions