One file to rule them all
This commit is contained in:
BIN
cmd/kind-linux-amd64
Normal file
BIN
cmd/kind-linux-amd64
Normal file
Binary file not shown.
28
cmd/main.go
28
cmd/main.go
@@ -39,6 +39,12 @@ func action() error {
|
||||
args = os.Args[2:]
|
||||
}
|
||||
internal.Start(args...)
|
||||
case "extract":
|
||||
what := os.Args[2]
|
||||
switch what {
|
||||
case "charts":
|
||||
return internal.ExtractTrees("assets", "./opencloud-chart")
|
||||
}
|
||||
case "help":
|
||||
what := os.Args[2]
|
||||
switch what {
|
||||
@@ -53,31 +59,33 @@ func action() error {
|
||||
case "db":
|
||||
internal.Help_DB()
|
||||
case "services":
|
||||
internal.Help_Services()
|
||||
internal.Help_Service()
|
||||
case "values":
|
||||
internal.Help_Values()
|
||||
default:
|
||||
internal.Help_Func()
|
||||
}
|
||||
case "install":
|
||||
if len(os.Args) < 2 {
|
||||
args := []string{}
|
||||
if len(os.Args) > 2 {
|
||||
args = os.Args[2:]
|
||||
if len(os.Args) < 3 {
|
||||
return internal.Install_Func()
|
||||
}
|
||||
return internal.Install_Func(args...)
|
||||
} else {
|
||||
what := os.Args[2]
|
||||
args := []string{}
|
||||
if len(os.Args) > 3 {
|
||||
args = os.Args[3:]
|
||||
}
|
||||
switch what {
|
||||
case "helm":
|
||||
return internal.Install_Helm()
|
||||
case "k3s":
|
||||
return internal.Install_K3S()
|
||||
case "kind":
|
||||
return internal.Install_Kind()
|
||||
return internal.Install_Kind(args...)
|
||||
default:
|
||||
internal.Help_Func()
|
||||
if len(os.Args) > 2 {
|
||||
args = os.Args[2:]
|
||||
}
|
||||
internal.Install_Func(args...)
|
||||
}
|
||||
case "create":
|
||||
what := os.Args[2]
|
||||
@@ -93,7 +101,7 @@ func action() error {
|
||||
case "db":
|
||||
return internal.Create_DB(args...)
|
||||
case "services":
|
||||
return internal.Create_Services(args...)
|
||||
return internal.Create_Service(args...)
|
||||
case "values":
|
||||
return internal.Create_Values(args...)
|
||||
default:
|
||||
|
||||
Binary file not shown.
39
cmd/opencloud-chart/Chart.lock
Normal file
39
cmd/opencloud-chart/Chart.lock
Normal file
@@ -0,0 +1,39 @@
|
||||
dependencies:
|
||||
- name: openldap
|
||||
repository: https://jp-gouin.github.io/helm-openldap/
|
||||
version: 2.0.4
|
||||
- name: traefik
|
||||
repository: https://helm.traefik.io/traefik
|
||||
version: 33.0.0
|
||||
- name: nats
|
||||
repository: https://nats-io.github.io/k8s/helm/charts/
|
||||
version: 1.2.6
|
||||
- name: mongodb
|
||||
repository: https://charts.bitnami.com/bitnami
|
||||
version: 16.3.1
|
||||
- name: mongo-express
|
||||
repository: https://cowboysysop.github.io/charts/
|
||||
version: 6.5.2
|
||||
- name: hydra
|
||||
repository: https://k8s.ory.sh/helm/charts
|
||||
version: 0.50.6
|
||||
- name: keto
|
||||
repository: https://k8s.ory.sh/helm/charts
|
||||
version: 0.50.2
|
||||
- name: loki
|
||||
repository: https://grafana.github.io/helm-charts
|
||||
version: 6.23.0
|
||||
- name: grafana
|
||||
repository: https://grafana.github.io/helm-charts
|
||||
version: 8.6.4
|
||||
- name: argo-workflows
|
||||
repository: https://argoproj.github.io/argo-helm
|
||||
version: 0.45.4
|
||||
- name: docker-registry-ui
|
||||
repository: https://helm.joxit.dev/
|
||||
version: 1.1.3
|
||||
- name: prometheus
|
||||
repository: https://prometheus-community.github.io/helm-charts
|
||||
version: 27.45.0
|
||||
digest: sha256:11c96ddd86e2857872d7dafaa48b545870bef019169b0cc1c00ed3fb9f32b9ac
|
||||
generated: "2026-01-08T21:09:54.004802973+01:00"
|
||||
BIN
cmd/opencloud-chart/charts/argo-workflows-0.45.4.tgz
Normal file
BIN
cmd/opencloud-chart/charts/argo-workflows-0.45.4.tgz
Normal file
Binary file not shown.
BIN
cmd/opencloud-chart/charts/docker-registry-ui-1.1.3.tgz
Normal file
BIN
cmd/opencloud-chart/charts/docker-registry-ui-1.1.3.tgz
Normal file
Binary file not shown.
BIN
cmd/opencloud-chart/charts/grafana-8.6.4.tgz
Normal file
BIN
cmd/opencloud-chart/charts/grafana-8.6.4.tgz
Normal file
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user