Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
37e444f
feat: add local bootstrap command
schrodit Mar 5, 2026
4ac80ba
feat: add bootstrap of cnpg helm chart
schrodit Mar 5, 2026
7c8f07a
feat: add postgres deployment
schrodit Mar 5, 2026
00dca53
feat: add rook and ceph deployment
schrodit Mar 6, 2026
2524d0a
split into several files
schrodit Mar 6, 2026
779fb45
remove requests to run inside a local cluster
schrodit Mar 6, 2026
017cdf5
feat: add basic local config
schrodit Mar 6, 2026
a9702eb
feat: prepare cs environment and install it
schrodit Mar 7, 2026
904de33
feat: support dedicated install dir
schrodit Mar 8, 2026
43c6e8a
feat: add cluster setup
schrodit Mar 8, 2026
17509bb
feat: support db migrations
schrodit Mar 8, 2026
e672df5
move db to codesphere namespace
schrodit Mar 9, 2026
561d0bd
fix codepshere deployment and set no requests
schrodit Mar 10, 2026
b0918cd
share common cs config and add resource profiles
schrodit Mar 10, 2026
53bc009
properly handle errors
schrodit Mar 10, 2026
8591c5a
fix local profiles
schrodit Mar 12, 2026
d46b43f
Merge remote-tracking branch 'origin/main' into bootstrap-local
schrodit Mar 13, 2026
23aaa83
properly set secrets and use new profiles
schrodit Mar 13, 2026
5534625
Merge remote-tracking branch 'origin/main' into bootstrap-local
schrodit Mar 13, 2026
e608b2e
set underprovisioning factor
schrodit Mar 13, 2026
dc49de4
remove registry pw from flag and read from stdin or env var
schrodit Mar 13, 2026
53766ee
chore(docs): Auto-update docs and licenses
schrodit Mar 13, 2026
50d1824
adjust bootrapping message
schrodit Mar 13, 2026
04c23bb
add addtional component with zero requests
schrodit Mar 14, 2026
cde57f2
make images configurable
schrodit Mar 20, 2026
84833f3
Merge remote-tracking branch 'origin/main' into bootstrap-local
schrodit Mar 20, 2026
3ece58a
fix config manager profile test
schrodit Mar 21, 2026
a71f894
chore(docs): Auto-update docs and licenses
schrodit Mar 21, 2026
d5f7f05
remove unncecessary ceph files
schrodit Mar 22, 2026
6037640
migrate to new migration config
schrodit Mar 22, 2026
a14ef9b
chore(docs): Auto-update docs and licenses
schrodit Mar 22, 2026
fb8962e
use sops/age directly to parse recipient
schrodit Mar 23, 2026
2b27011
Merge remote-tracking branch 'origin/main' into bootstrap-local
schrodit Mar 23, 2026
713c9b1
chore(docs): Auto-update docs and licenses
schrodit Mar 23, 2026
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: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,13 @@ vendor/
go.work
go.work.sum

# Go modules
vendor

# local env
.envrc
.env
.installer

# bin file
bin/
Expand Down
8 changes: 8 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Copyright (c) Codesphere Inc.
# SPDX-License-Identifier: Apache-2.0

version: "2"
linters:
exclusions:
paths:
- "external/.*"
196 changes: 182 additions & 14 deletions NOTICE
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,24 @@ Version: v1.0.2
License: BSD-3-Clause
License URL: https://github.com/imdario/mergo/blob/v1.0.2/LICENSE

----------
Module: filippo.io/age
Version: v1.3.1
License: BSD-3-Clause
License URL: https://github.com/FiloSottile/age/blob/v1.3.1/LICENSE

----------
Module: filippo.io/edwards25519
Version: v1.2.0
License: BSD-3-Clause
License URL: https://github.com/FiloSottile/edwards25519/blob/v1.2.0/LICENSE

----------
Module: filippo.io/hpke
Version: v0.4.0
License: BSD-3-Clause
License URL: https://github.com/FiloSottile/hpke/blob/v0.4.0/LICENSE

----------
Module: github.com/42wim/httpsig
Version: v1.2.3
Expand Down Expand Up @@ -123,6 +141,12 @@ Version: v0.0.0-20230301143203-a9d515a09cc2
License: MIT
License URL: https://github.com/asaskevich/govalidator/blob/a9d515a09cc2/LICENSE

----------
Module: github.com/beorn7/perks/quantile
Version: v1.0.1
License: MIT
License URL: https://github.com/beorn7/perks/blob/v1.0.1/LICENSE

----------
Module: github.com/blang/semver/v4
Version: v4.0.0
Expand Down Expand Up @@ -153,6 +177,30 @@ Version: v1.6.3
License: BSD-3-Clause
License URL: https://github.com/cloudflare/circl/blob/v1.6.3/LICENSE

----------
Module: github.com/cloudnative-pg/barman-cloud/pkg/api
Version: v0.4.1-0.20260108104508-ced266c145f5
License: Apache-2.0
License URL: https://github.com/cloudnative-pg/barman-cloud/blob/ced266c145f5/LICENSE

----------
Module: github.com/cloudnative-pg/cloudnative-pg
Version: v1.28.1
License: Apache-2.0
License URL: https://github.com/cloudnative-pg/cloudnative-pg/blob/v1.28.1/LICENSE

----------
Module: github.com/cloudnative-pg/cnpg-i/pkg/identity
Version: v0.3.1
License: Apache-2.0
License URL: https://github.com/cloudnative-pg/cnpg-i/blob/v0.3.1/LICENSE

----------
Module: github.com/cloudnative-pg/machinery/pkg
Version: v0.3.3
License: Apache-2.0
License URL: https://github.com/cloudnative-pg/machinery/blob/v0.3.3/LICENSE

----------
Module: github.com/codesphere-cloud/cs-go
Version: v0.22.0
Expand Down Expand Up @@ -203,9 +251,9 @@ License URL: https://github.com/dylibso/observe-sdk/blob/2d926c5d788a/go/LICENSE

----------
Module: github.com/emicklei/go-restful/v3
Version: v3.12.2
Version: v3.13.0
License: MIT
License URL: https://github.com/emicklei/go-restful/blob/v3.12.2/LICENSE
License URL: https://github.com/emicklei/go-restful/blob/v3.13.0/LICENSE

----------
Module: github.com/evanphx/json-patch/v5
Expand Down Expand Up @@ -243,12 +291,30 @@ Version: v0.37.2-flux.1
License: Apache-2.0
License URL: https://github.com/fluxcd/cli-utils/blob/v0.37.2-flux.1/LICENSE

----------
Module: github.com/fsnotify/fsnotify
Version: v1.9.0
License: BSD-3-Clause
License URL: https://github.com/fsnotify/fsnotify/blob/v1.9.0/LICENSE

----------
Module: github.com/fxamacker/cbor/v2
Version: v2.9.0
License: MIT
License URL: https://github.com/fxamacker/cbor/blob/v2.9.0/LICENSE

----------
Module: github.com/getsops/gopgagent
Version: v0.0.0-20241224165529-7044f28e491e
License: Apache-2.0
License URL: https://github.com/getsops/gopgagent/blob/7044f28e491e/LICENSE

----------
Module: github.com/getsops/sops/v3
Version: v3.12.2
License: MPL-2.0
License URL: https://github.com/getsops/sops/blob/v3.12.2/LICENSE

----------
Module: github.com/go-errors/errors
Version: v1.5.1
Expand Down Expand Up @@ -279,6 +345,12 @@ Version: v1.2.2
License: Apache-2.0
License URL: https://github.com/go-logr/stdr/blob/v1.2.2/LICENSE

----------
Module: github.com/go-logr/zapr
Version: v1.3.0
License: Apache-2.0
License URL: https://github.com/go-logr/zapr/blob/v1.3.0/LICENSE

----------
Module: github.com/go-openapi/jsonpointer
Version: v0.22.4
Expand Down Expand Up @@ -377,9 +449,9 @@ License URL: https://github.com/google/btree/blob/v1.1.3/LICENSE

----------
Module: github.com/google/gnostic-models
Version: v0.7.0
Version: v0.7.1
License: Apache-2.0
License URL: https://github.com/google/gnostic-models/blob/v0.7.0/LICENSE
License URL: https://github.com/google/gnostic-models/blob/v0.7.1/LICENSE

----------
Module: github.com/google/go-cmp/cmp
Expand All @@ -405,6 +477,12 @@ Version: v0.1.9
License: Apache-2.0
License URL: https://github.com/google/s2a-go/blob/v0.1.9/LICENSE.md

----------
Module: github.com/google/shlex
Version: v0.0.0-20191202100458-e7afc7fbc510
License: Apache-2.0
License URL: https://github.com/google/shlex/blob/e7afc7fbc510/COPYING

----------
Module: github.com/google/uuid
Version: v1.6.0
Expand All @@ -423,6 +501,12 @@ Version: v2.18.0
License: BSD-3-Clause
License URL: https://github.com/googleapis/gax-go/blob/v2.18.0/v2/LICENSE

----------
Module: github.com/gorilla/websocket
Version: v1.5.4-0.20250319132907-e064f32e3674
License: BSD-2-Clause
License URL: https://github.com/gorilla/websocket/blob/e064f32e3674/LICENSE

----------
Module: github.com/gosuri/uitable
Version: v0.0.4
Expand Down Expand Up @@ -485,16 +569,22 @@ License URL: https://github.com/jmoiron/sqlx/blob/v1.4.0/LICENSE

----------
Module: github.com/json-iterator/go
Version: v1.1.12
Version: v1.1.13-0.20220915233716-71ac16282d12
License: MIT
License URL: https://github.com/json-iterator/go/blob/v1.1.12/LICENSE
License URL: https://github.com/json-iterator/go/blob/71ac16282d12/LICENSE

----------
Module: github.com/kr/fs
Version: v0.1.0
License: BSD-3-Clause
License URL: https://github.com/kr/fs/blob/v0.1.0/LICENSE

----------
Module: github.com/kubernetes-csi/external-snapshotter/client/v8/apis/volumesnapshot/v1
Version: v8.4.0
License: Apache-2.0
License URL: https://github.com/kubernetes-csi/external-snapshotter/blob/client/v8.4.0/client/LICENSE

----------
Module: github.com/lann/builder
Version: v0.0.0-20180802200727-47ae307949d0
Expand Down Expand Up @@ -561,6 +651,12 @@ Version: v1.0.2
License: MIT
License URL: https://github.com/mitchellh/reflectwalk/blob/v1.0.2/LICENSE

----------
Module: github.com/moby/spdystream
Version: v0.5.0
License: Apache-2.0
License URL: https://github.com/moby/spdystream/blob/v0.5.0/LICENSE

----------
Module: github.com/moby/term
Version: v0.5.2
Expand Down Expand Up @@ -591,6 +687,12 @@ Version: v0.0.0-20191010083416-a7dc8b61c822
License: BSD-3-Clause
License URL: https://github.com/munnerz/goautoneg/blob/a7dc8b61c822/LICENSE

----------
Module: github.com/mxk/go-flowrate/flowrate
Version: v0.0.0-20140419014527-cca7078d478f
License: BSD-3-Clause
License URL: https://github.com/mxk/go-flowrate/blob/cca7078d478f/LICENSE

----------
Module: github.com/onsi/gomega
Version: v1.39.1
Expand Down Expand Up @@ -627,6 +729,42 @@ Version: v1.0.1-0.20181226105442-5d4384ee4fb2
License: BSD-3-Clause
License URL: https://github.com/pmezard/go-difflib/blob/5d4384ee4fb2/LICENSE

----------
Module: github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring
Version: v0.87.1
License: Apache-2.0
License URL: https://github.com/prometheus-operator/prometheus-operator/blob/pkg/apis/monitoring/v0.87.1/pkg/apis/monitoring/LICENSE

----------
Module: github.com/prometheus/client_golang/internal/github.com/golang/gddo/httputil
Version: v1.23.2
License: BSD-3-Clause
License URL: https://github.com/prometheus/client_golang/blob/v1.23.2/internal/github.com/golang/gddo/LICENSE

----------
Module: github.com/prometheus/client_golang/prometheus
Version: v1.23.2
License: Apache-2.0
License URL: https://github.com/prometheus/client_golang/blob/v1.23.2/LICENSE

----------
Module: github.com/prometheus/client_model/go
Version: v0.6.2
License: Apache-2.0
License URL: https://github.com/prometheus/client_model/blob/v0.6.2/LICENSE

----------
Module: github.com/prometheus/common
Version: v0.67.5
License: Apache-2.0
License URL: https://github.com/prometheus/common/blob/v0.67.5/LICENSE

----------
Module: github.com/prometheus/procfs
Version: v0.19.2
License: Apache-2.0
License URL: https://github.com/prometheus/procfs/blob/v0.19.2/LICENSE

----------
Module: github.com/rubenv/sql-migrate
Version: v1.8.1
Expand Down Expand Up @@ -657,6 +795,12 @@ Version: v1.4.0
License: MIT
License URL: https://github.com/shopspring/decimal/blob/v1.4.0/LICENSE

----------
Module: github.com/sirupsen/logrus
Version: v1.9.4
License: MIT
License URL: https://github.com/sirupsen/logrus/blob/v1.9.4/LICENSE

----------
Module: github.com/spf13/cast
Version: v1.10.0
Expand Down Expand Up @@ -795,6 +939,18 @@ Version: v1.9.0
License: Apache-2.0
License URL: https://github.com/open-telemetry/opentelemetry-proto-go/blob/otlp/v1.9.0/otlp/LICENSE

----------
Module: go.uber.org/multierr
Version: v1.11.0
License: MIT
License URL: https://github.com/uber-go/multierr/blob/v1.11.0/LICENSE.txt

----------
Module: go.uber.org/zap
Version: v1.27.1
License: MIT
License URL: https://github.com/uber-go/zap/blob/v1.27.1/LICENSE

----------
Module: go.yaml.in/yaml/v2
Version: v2.4.4
Expand All @@ -813,6 +969,12 @@ Version: v0.49.0
License: BSD-3-Clause
License URL: https://cs.opensource.google/go/x/crypto/+/v0.49.0:LICENSE

----------
Module: golang.org/x/mod/semver
Version: v0.34.0
License: BSD-3-Clause
License URL: https://cs.opensource.google/go/x/mod/+/v0.34.0:LICENSE

----------
Module: golang.org/x/net
Version: v0.52.0
Expand Down Expand Up @@ -855,6 +1017,12 @@ Version: v0.15.0
License: BSD-3-Clause
License URL: https://cs.opensource.google/go/x/time/+/v0.15.0:LICENSE

----------
Module: gomodules.xyz/jsonpatch/v2
Version: v2.5.0
License: Apache-2.0
License URL: https://github.com/gomodules/jsonpatch/blob/v2.5.0/v2/LICENSE

----------
Module: google.golang.org/api
Version: v0.272.0
Expand Down Expand Up @@ -1013,15 +1181,15 @@ License URL: https://github.com/kubernetes/kubectl/blob/v0.35.1/LICENSE

----------
Module: k8s.io/utils
Version: v0.0.0-20260106112306-0fe9cd71b2f8
Version: v0.0.0-20260108192941-914a6e750570
License: Apache-2.0
License URL: https://github.com/kubernetes/utils/blob/0fe9cd71b2f8/LICENSE
License URL: https://github.com/kubernetes/utils/blob/914a6e750570/LICENSE

----------
Module: k8s.io/utils/internal/third_party/forked/golang/net
Version: v0.0.0-20260106112306-0fe9cd71b2f8
Module: k8s.io/utils/internal/third_party/forked/golang
Version: v0.0.0-20260108192941-914a6e750570
License: BSD-3-Clause
License URL: https://github.com/kubernetes/utils/blob/0fe9cd71b2f8/internal/third_party/forked/golang/LICENSE
License URL: https://github.com/kubernetes/utils/blob/914a6e750570/internal/third_party/forked/golang/LICENSE

----------
Module: oras.land/oras-go/v2
Expand All @@ -1030,10 +1198,10 @@ License: Apache-2.0
License URL: https://github.com/oras-project/oras-go/blob/v2.6.0/LICENSE

----------
Module: sigs.k8s.io/controller-runtime/pkg
Version: v0.23.1
Module: sigs.k8s.io/controller-runtime
Version: v0.23.2
License: Apache-2.0
License URL: https://github.com/kubernetes-sigs/controller-runtime/blob/v0.23.1/LICENSE
License URL: https://github.com/kubernetes-sigs/controller-runtime/blob/v0.23.2/LICENSE

----------
Module: sigs.k8s.io/json
Expand Down
1 change: 1 addition & 0 deletions cli/cmd/beta.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,6 @@ func AddBetaCmd(rootCmd *cobra.Command, opts *GlobalOptions) {

AddExtendCmd(beta.cmd, opts)
AddBootstrapGcpCmd(beta.cmd, opts)
AddBootstrapLocalCmd(beta.cmd)
AddBetaInstallCmd(beta.cmd, opts)
}
Loading
Loading