Skip to content
Open
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
37 changes: 36 additions & 1 deletion apis/installer/v1alpha1/service_vault_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ package v1alpha1
import (
catgwapi "go.bytebuilders.dev/catalog/api/gateway/v1alpha1"

core "k8s.io/api/core/v1"
"k8s.io/apimachinery/pkg/api/resource"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"kmodules.xyz/resource-metadata/apis/shared"
)
Expand Down Expand Up @@ -50,11 +52,44 @@ type ServiceVaultSpec struct {
Infra catgwapi.ServiceProviderInfra `json:"infra"`
GatewayDns catgwapi.ServiceGatewayDns `json:"gateway-dns"`
// +optional
VaultServer LocalObjectReference `json:"vaultServer"`
VaultServer VaultServerSpec `json:"vaultServer"`
// +optional
Distro shared.DistroSpec `json:"distro"`
}

type VaultServerSpec struct {
Name string `json:"name"`
Version string `json:"version"`
Replicas int32 `json:"replicas"`
IsolateTenants bool `json:"isolateTenants"`
ServiceType core.ServiceType `json:"serviceType"`
TerminationPolicy string `json:"terminationPolicy"`
Persistence VaultPersistenceSpec `json:"persistence"`
Unsealer VaultUnsealerSpec `json:"unsealer"`
TLS VaultTLSSpec `json:"tls"`
Relay VaultRelaySpec `json:"relay"`
}

type VaultPersistenceSpec struct {
StorageClassName string `json:"storageClassName"`
Size resource.Quantity `json:"size"`
}

type VaultUnsealerSpec struct {
SecretShares int32 `json:"secretShares"`
SecretThreshold int32 `json:"secretThreshold"`
}

type VaultTLSSpec struct {
CASecretName string `json:"caSecretName"`
}

type VaultRelaySpec struct {
ClusterSet string `json:"clusterSet"`
Namespace string `json:"namespace"`
BootstrapTokenTTL string `json:"bootstrapTokenTTL"`
}

// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

// ServiceVaultList is a list of ServiceVaults
Expand Down
82 changes: 81 additions & 1 deletion apis/installer/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions catalog/ace.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
- ghcr.io/appscode-charts/ace-installer:v2026.7.10
- ghcr.io/appscode-charts/ace:v2026.7.10
- ghcr.io/appscode-charts/service-gateway:v2026.7.10
- ghcr.io/appscode-charts/acaas:v2026.9.11
- ghcr.io/appscode-charts/ace-installer:v2026.9.11
- ghcr.io/appscode-charts/ace:v2026.9.11
- ghcr.io/appscode-charts/service-gateway:v2026.9.11
Loading
Loading