Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion appset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,9 @@ spec:
- path: clusters/{{.clusterName}}/apps/*/app.yaml
template:
metadata:
name: "{{.path.basename}}" # app name = its directory name
# Keep existing unraid-lab Application names stable. OCI shares many app
# paths, so it needs a prefix to avoid a name collision.
name: '{{ if eq .clusterName "oci-lab" }}oci-lab-{{ .path.basename }}{{ else }}{{ .path.basename }}{{ end }}'
spec:
project: default
sources:
Expand Down
4 changes: 3 additions & 1 deletion clusters/unraid-lab/omni/inline-manifests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34263,7 +34263,9 @@ cluster:
- path: clusters/{{.clusterName}}/apps/*/app.yaml
template:
metadata:
name: "{{.path.basename}}" # app name = its directory name
# Keep existing unraid-lab Application names stable. OCI shares many app
# paths, so it needs a prefix to avoid a name collision.
name: '{{ if eq .clusterName "oci-lab" }}oci-lab-{{ .path.basename }}{{ else }}{{ .path.basename }}{{ end }}'
spec:
project: default
sources:
Expand Down
Loading