27 lines
600 B
YAML
27 lines
600 B
YAML
|
resources:
|
||
|
- sillytavern-deployment.yaml
|
||
|
- sillytavern-ingress.yaml
|
||
|
|
||
|
namePrefix: sillytavern-
|
||
|
|
||
|
commonLabels:
|
||
|
app.kubernetes.io/name: sillytavern
|
||
|
|
||
|
configMapGenerator:
|
||
|
- name: kustomize-generated-config
|
||
|
literals:
|
||
|
- SILLYTAVERN_EXTERNAL_HOST=tavern.badjware.dev
|
||
|
- SILLYTAVERN_EXTERNAL_URL=https://tavern.badjware.dev
|
||
|
|
||
|
replacements:
|
||
|
- source:
|
||
|
kind: ConfigMap
|
||
|
name: kustomize-generated-config
|
||
|
fieldPath: data.SILLYTAVERN_EXTERNAL_HOST
|
||
|
targets:
|
||
|
- select:
|
||
|
kind: Ingress
|
||
|
name: server
|
||
|
fieldPaths:
|
||
|
- spec.rules.0.host
|