Dynamic hostname is messing with my app

Yorick

Wizard
Joined
Nov 4, 2018
Messages
1,912
I have an app - FoundryVTT - that uses the hostname to determine whether it is licensed. As you can imagine, TrueNAS choosing a dynamic pod name on every start is messing with this, and I get to re-confirm that I am licensed on App restart.

I've looked but can't find a way to change this behavior. I can't change the hostname inside the container after the pod starts, I tried.

There should be a k8s deployment option for this, but I don't think SCALE exposes it via the GUI. https://kubernetes.io/docs/concepts...-service/#pod-s-hostname-and-subdomain-fields


Code:
spec:
  hostname: MY-HOSTNAME


A Container hostname option for Custom App deployment would solve it.
 
Last edited:

Yorick

Wizard
Joined
Nov 4, 2018
Messages
1,912
I tried creating a "New Feature" issue for this on Jira and get "User 'ug:78957a05-467a-4527-b619-d983da3e4803' doesn't have the 'Close Issues' permission". Halp.
 

Yorick

Wizard
Joined
Nov 4, 2018
Messages
1,912
Top