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
7 changes: 5 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
version: 2

project_name: cluster-bootstrap

before:
Expand All @@ -20,11 +22,12 @@ builds:
- -s -w

archives:
- format: tar.gz
- formats:
- tar.gz
name_template: "{{ .ProjectName }}-{{ .Os }}-{{ .Arch }}"

checksum:
name_template: "checksums.txt"

changelog:
skip: true
disable: true
24 changes: 20 additions & 4 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,27 @@ tasks:
- task: cli:vet

helm-lint:
desc: Lint all Helm charts that contain templates
desc: Lint all Helm charts
cmds:
- helm lint apps/
- helm lint components/argocd-repo-secret/
- helm lint components/vault/
- |
helm lint apps/
for chart in components/*/; do
if grep -q "^dependencies:" "$chart/Chart.yaml"; then
helm dependency build "$chart"
fi
values_args=""
if [ -f "$chart/values/base.yaml" ]; then
values_args="-f $chart/values/base.yaml"
fi
helm lint "$chart" $values_args
done

helm-template:
desc: Render Helm templates for a given environment
vars:
ENV: '{{.ENV | default "dev"}}'
cmds:
- helm template apps/ -f apps/values/{{.ENV}}.yaml

docs-serve:
desc: Serve MkDocs documentation locally
Expand Down
4 changes: 4 additions & 0 deletions apps/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ components:
enabled: true
namespace: argocd
syncWave: "0"
syncOptions:
- ServerSideApply=true

vault:
enabled: true
Expand All @@ -19,6 +21,8 @@ components:
enabled: true
namespace: external-secrets
syncWave: "1"
syncOptions:
- ServerSideApply=true

argocd-repo-secret:
enabled: true
Expand Down
13 changes: 7 additions & 6 deletions cli/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -102,14 +102,14 @@ require (
github.com/felixge/httpsnoop v1.0.4 // indirect
github.com/fxamacker/cbor/v2 v2.9.0 // indirect
github.com/getsops/gopgagent v0.0.0-20241224165529-7044f28e491e // indirect
github.com/go-errors/errors v1.4.2 // indirect
github.com/go-errors/errors v1.5.1 // indirect
github.com/go-gorp/gorp/v3 v3.1.0 // indirect
github.com/go-jose/go-jose/v4 v4.1.1 // indirect
github.com/go-logr/logr v1.4.3 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
github.com/go-openapi/jsonpointer v0.21.0 // indirect
github.com/go-openapi/jsonreference v0.20.2 // indirect
github.com/go-openapi/swag v0.23.0 // indirect
github.com/go-openapi/jsonpointer v0.21.1 // indirect
github.com/go-openapi/jsonreference v0.21.0 // indirect
github.com/go-openapi/swag v0.23.1 // indirect
github.com/gobwas/glob v0.2.3 // indirect
github.com/golang-jwt/jwt/v5 v5.3.0 // indirect
github.com/google/btree v1.1.3 // indirect
Expand Down Expand Up @@ -145,7 +145,7 @@ require (
github.com/lib/pq v1.10.9 // indirect
github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de // indirect
github.com/lucasb-eyer/go-colorful v1.2.0 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
github.com/mailru/easyjson v0.9.0 // indirect
github.com/mattn/go-colorable v0.1.14 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/mattn/go-localereader v0.0.1 // indirect
Expand All @@ -171,6 +171,7 @@ require (
github.com/pkg/errors v0.9.1 // indirect
github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10 // indirect
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
github.com/prometheus/procfs v0.17.0 // indirect
github.com/rivo/uniseg v0.4.7 // indirect
github.com/rubenv/sql-migrate v1.8.1 // indirect
github.com/russross/blackfriday/v2 v2.1.0 // indirect
Expand Down Expand Up @@ -225,7 +226,7 @@ require (
oras.land/oras-go/v2 v2.6.0 // indirect
sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730 // indirect
sigs.k8s.io/kustomize/api v0.20.1 // indirect
sigs.k8s.io/kustomize/kyaml v0.20.1 // indirect
sigs.k8s.io/kustomize/kyaml v0.21.0 // indirect
sigs.k8s.io/randfill v1.0.0 // indirect
sigs.k8s.io/structured-merge-diff/v6 v6.3.0 // indirect
sigs.k8s.io/yaml v1.6.0 // indirect
Expand Down
Loading