AppManager: Format cue files
Change-Id: Ia37908797b0227ab3b66e0faab08dcc2379e5282
diff --git a/core/installer/values-tmpl/open-project.cue b/core/installer/values-tmpl/open-project.cue
index 10234b4..b1d3795 100644
--- a/core/installer/values-tmpl/open-project.cue
+++ b/core/installer/values-tmpl/open-project.cue
@@ -1,16 +1,16 @@
input: {
- network: #Network @name(Network)
- subdomain: string @name(Subdomain)
+ network: #Network @name(Network)
+ subdomain: string @name(Subdomain)
}
_domain: "\(input.subdomain).\(input.network.domain)"
-url: "https://\(_domain)"
+url: "https://\(_domain)"
-name: "OpenProject"
-namespace: "app-open-project"
-readme: "Open source project management software. Powerful classic, agile or hybrid project management in a secure environment."
+name: "OpenProject"
+namespace: "app-open-project"
+readme: "Open source project management software. Powerful classic, agile or hybrid project management in a secure environment."
description: "Open source project management software. Powerful classic, agile or hybrid project management in a secure environment."
-icon: "<svg xmlns='http://www.w3.org/2000/svg' width='50' height='50' viewBox='0 0 24 24'><path fill='currentColor' d='M19.35.37h-1.86a4.63 4.63 0 0 0-4.652 4.624v5.609H4.652A4.63 4.63 0 0 0 0 15.23v3.721c0 2.569 2.083 4.679 4.652 4.679h1.86c2.57 0 4.652-2.11 4.652-4.679v-3.72c0-.063 0-.158-.005-.158H8.373v3.88c0 1.026-.835 1.886-1.861 1.886h-1.86c-1.027 0-1.861-.864-1.861-1.886V15.23a1.84 1.84 0 0 1 1.86-1.833h14.697c2.57 0 4.652-2.11 4.652-4.679V4.997A4.63 4.63 0 0 0 19.35.37m1.861 8.345c0 1.026-.835 1.886-1.861 1.886h-3.721V4.997a1.84 1.84 0 0 1 1.86-1.833h1.86a1.84 1.84 0 0 1 1.862 1.833zm-8.373 9.706v.03c0 .746.629 1.344 1.396 1.344s1.395-.594 1.395-1.34v-3.384h-2.791z'/></svg>"
+icon: "<svg xmlns='http://www.w3.org/2000/svg' width='50' height='50' viewBox='0 0 24 24'><path fill='currentColor' d='M19.35.37h-1.86a4.63 4.63 0 0 0-4.652 4.624v5.609H4.652A4.63 4.63 0 0 0 0 15.23v3.721c0 2.569 2.083 4.679 4.652 4.679h1.86c2.57 0 4.652-2.11 4.652-4.679v-3.72c0-.063 0-.158-.005-.158H8.373v3.88c0 1.026-.835 1.886-1.861 1.886h-1.86c-1.027 0-1.861-.864-1.861-1.886V15.23a1.84 1.84 0 0 1 1.86-1.833h14.697c2.57 0 4.652-2.11 4.652-4.679V4.997A4.63 4.63 0 0 0 19.35.37m1.861 8.345c0 1.026-.835 1.886-1.861 1.886h-3.721V4.997a1.84 1.84 0 0 1 1.86-1.833h1.86a1.84 1.84 0 0 1 1.862 1.833zm-8.373 9.706v.03c0 .746.629 1.344 1.396 1.344s1.395-.594 1.395-1.34v-3.384h-2.791z'/></svg>"
_httpPort: 8080
@@ -18,7 +18,7 @@
ingress: {
gerrit: {
auth: enabled: false
- network: input.network
+ network: input.network
subdomain: input.subdomain
service: {
name: "open-project"
@@ -30,44 +30,44 @@
images: {
openProject: {
repository: "openproject"
- name: "openproject"
- tag: "13.4.1"
+ name: "openproject"
+ tag: "13.4.1"
pullPolicy: "Always"
}
postgres: {
repository: "library"
- name: "postgres"
- tag: "15.3"
+ name: "postgres"
+ tag: "15.3"
pullPolicy: "IfNotPresent"
}
}
charts: {
openProject: {
- kind: "GitRepository"
+ kind: "GitRepository"
address: "https://code.v1.dodo.cloud/helm-charts"
- branch: "main"
- path: "charts/openproject"
+ branch: "main"
+ path: "charts/openproject"
}
volume: {
- path: "charts/volumes"
- kind: "GitRepository"
+ path: "charts/volumes"
+ kind: "GitRepository"
address: "https://code.v1.dodo.cloud/helm-charts"
- branch: "main"
+ branch: "main"
}
postgres: {
- kind: "GitRepository"
+ kind: "GitRepository"
address: "https://code.v1.dodo.cloud/helm-charts"
- branch: "main"
- path: "charts/postgresql"
+ branch: "main"
+ path: "charts/postgresql"
}
}
volume: {
openProject: {
- name: "open-project"
+ name: "open-project"
accessMode: "ReadWriteMany"
- size: "50Gi"
+ size: "50Gi"
}
}
@@ -76,29 +76,29 @@
chart: charts.openProject
values: {
image: {
- registry: images.openProject.registry
- repository: images.openProject.imageName
- tag: images.openProject.tag
+ registry: images.openProject.registry
+ repository: images.openProject.imageName
+ tag: images.openProject.tag
imagePullPolicy: images.openProject.pullPolicy
}
nameOverride: "open-project"
- ingress: enabled: false
+ ingress: enabled: false
memcached: bundled: true
- s3: enabled: false
+ s3: enabled: false
openproject: {
- host: _domain
+ host: _domain
https: false
- hsts: false
+ hsts: false
oidc: enabled: false // TODO(gio): enable
admin_user: {
- password: "admin"
+ password: "admin"
password_reset: false
- name: "admin"
- mail: "op-admin@\(networks.public.domain)"
+ name: "admin"
+ mail: "op-admin@\(networks.public.domain)"
}
}
persistence: {
- enabled: true
+ enabled: true
existingClaim: volume.openProject.name
}
postgresql: {
@@ -115,20 +115,20 @@
}
service: {
enabled: true
- type: "ClusterIP"
+ type: "ClusterIP"
}
initDb: {
image: {
- registry: images.postgres.registry
- repository: images.postgres.imageName
- tag: images.postgres.tag
+ registry: images.postgres.registry
+ repository: images.postgres.imageName
+ tag: images.postgres.tag
imagePullPolicy: images.postgres.pullPolicy
}
}
}
}
"open-project-volume": {
- chart: charts.volume
+ chart: charts.volume
values: volume.openProject
}
postgres: {
@@ -136,9 +136,9 @@
values: {
fullnameOverride: "postgres"
image: {
- registry: images.postgres.registry
+ registry: images.postgres.registry
repository: images.postgres.imageName
- tag: images.postgres.tag
+ tag: images.postgres.tag
pullPolicy: images.postgres.pullPolicy
}
service: {
@@ -162,7 +162,7 @@
fsGroup: 0
}
containerSecurityContext: {
- enabled: true
+ enabled: true
runAsUser: 0
}
}