Installer: Simplify volume usage API
Change-Id: I4a7189af9194c70a6c5aac96d39618a6827965bd
diff --git a/core/installer/values-tmpl/jenkins.cue b/core/installer/values-tmpl/jenkins.cue
index 9fce898..40f2085 100644
--- a/core/installer/values-tmpl/jenkins.cue
+++ b/core/installer/values-tmpl/jenkins.cue
@@ -42,12 +42,6 @@
branch: "main"
path: "charts/jenkins"
}
- volume: {
- kind: "GitRepository"
- address: "https://github.com/giolekva/pcloud.git"
- branch: "main"
- path: "charts/volumes"
- }
oauth2Client: {
kind: "GitRepository"
address: "https://github.com/giolekva/pcloud.git"
@@ -56,13 +50,7 @@
}
}
-volumes: {
- jenkins: {
- name: "jenkins"
- accessMode: "ReadWriteOnce"
- size: "10Gi"
- }
-}
+volumes: jenkins: size: "10Gi"
_oauth2ClientCredentials: "oauth2-credentials"
_oauth2ClientId: "client_id"
@@ -136,9 +124,4 @@
}
}
}
- "jenkins-data": {
- chart: charts.volume
- info: "Creating disk"
- values: volumes.jenkins
- }
}