Skip to content

Conversation

@aslafy-z
Copy link
Contributor

Adds configurable init containers for both Guacamole client and guacd deployments, enabling pre-start tasks like waiting for dependencies or initializing shared storage.

Created with the help of Copilot.
Fixes #2

Changes

  • values.yaml: Added initContainers array under both client and guacd sections
  • client-deployment.yaml / guacd-deployment.yaml: Render init containers when configured
  • README.md: Added documentation and usage examples

Usage

client:
  initContainers:
    - name: wait-for-database
      image: busybox:1.36
      command: ['sh', '-c', 'until nc -z postgres 5432; do sleep 2; done']

guacd:
  initContainers:
    - name: init-recordings
      image: busybox:1.36
      command: ['sh', '-c', 'mkdir -p /recordings']
      volumeMounts:
        - name: recordings
          mountPath: /recordings

Co-authored-by: aslafy-z <[email protected]>
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
@dmunozv04
Copy link
Owner

Looks good, thanks for the PR!

@dmunozv04 dmunozv04 merged commit d2c424a into dmunozv04:main Jan 13, 2026
@aslafy-z aslafy-z deleted the feat/guacamole-initcontainer branch January 14, 2026 03:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support for init containers

2 participants