Skip to content

Commit 6dae435

Browse files
authored
Add custom volumes and mounts to deployment overrides (#27)
* Add custom volumes and mounts to deployment overrides * Upgrade golangci-lint * Fix lint
1 parent 58f1cda commit 6dae435

22 files changed

Lines changed: 77690 additions & 18037 deletions

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ test-e2e:
121121
go test ./test/e2e/ -v -ginkgo.v
122122

123123
GOLANGCI_LINT = $(shell pwd)/bin/golangci-lint
124-
GOLANGCI_LINT_VERSION ?= v2.1.6
124+
GOLANGCI_LINT_VERSION ?= v2.4.0
125125
golangci-lint:
126126
@[ -f $(GOLANGCI_LINT) ] || { \
127127
set -e ;\

api/v1alpha1/interface.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,6 @@ type DeploymentOverrides struct {
3535
Strategy *v1.DeploymentStrategy `json:"strategy,omitempty"`
3636
Env []corev1.EnvVar `json:"env,omitempty"`
3737
EnvFrom []corev1.EnvFromSource `json:"envFrom,omitempty"`
38+
Volumes []corev1.Volume `json:"volumes,omitempty"`
39+
VolumeMounts []corev1.VolumeMount `json:"volumeMounts,omitempty"`
3840
}

api/v1alpha1/zz_generated.deepcopy.go

Lines changed: 14 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/crd/bases/teranode.bsvblockchain.org_alertsystems.yaml

Lines changed: 1971 additions & 0 deletions
Large diffs are not rendered by default.

config/crd/bases/teranode.bsvblockchain.org_assets.yaml

Lines changed: 1971 additions & 0 deletions
Large diffs are not rendered by default.

config/crd/bases/teranode.bsvblockchain.org_blockassemblies.yaml

Lines changed: 1971 additions & 0 deletions
Large diffs are not rendered by default.

config/crd/bases/teranode.bsvblockchain.org_blockchains.yaml

Lines changed: 1971 additions & 0 deletions
Large diffs are not rendered by default.

config/crd/bases/teranode.bsvblockchain.org_blockpersisters.yaml

Lines changed: 1971 additions & 0 deletions
Large diffs are not rendered by default.

config/crd/bases/teranode.bsvblockchain.org_blockvalidators.yaml

Lines changed: 1971 additions & 0 deletions
Large diffs are not rendered by default.

config/crd/bases/teranode.bsvblockchain.org_clusters.yaml

Lines changed: 48021 additions & 18036 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)