Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support overriding configuration directories in K8s Container #705

Merged
merged 5 commits into from
Nov 30, 2023

Conversation

APErebus
Copy link
Contributor

@APErebus APErebus commented Nov 29, 2023

Background

The Kubernetes Tentacle needs to be able to configure the directory path for the home + application directories so they can be specified to be on a NFS/volume mount

Results

The container now takes the TentacleHome and TentacleApplications environment variables and uses them in configure-tentacle.sh if they are set to override the default values.

We also now explicitly set the home directory in the create-instance command (for clarity).

Also some minor bash cleanups: ! -z is the same as -n

Shortcut story: [sc-66137]

How to review this PR

Quality ✔️

Pre-requisites

  • I have read How we use GitHub Issues for help deciding when and where it's appropriate to make an issue.
  • I have considered informing or consulting the right people, according to the ownership map.
  • I have considered appropriate testing for my change.

@APErebus APErebus requested a review from a team as a code owner November 29, 2023 23:10
Copy link

Copy link
Contributor

@MissedTheMark MissedTheMark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@APErebus APErebus enabled auto-merge (squash) November 30, 2023 02:03
@APErebus APErebus merged commit 9d670d9 into main Nov 30, 2023
48 checks passed
@APErebus APErebus deleted the ap/override-directories branch November 30, 2023 02:39
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.

2 participants