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
9,490 changes: 6,349 additions & 3,141 deletions crds/gateway.catalog.appscode.com_gatewayconfigs.yaml

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
module go.bytebuilders.dev/catalog

go 1.25.3
go 1.25.6

require (
github.com/envoyproxy/gateway v1.6.1
github.com/envoyproxy/gateway v1.6.3
k8s.io/api v0.34.3
k8s.io/apimachinery v0.34.3
k8s.io/klog/v2 v2.130.1
k8s.io/kube-openapi v0.0.0-20250910181357-589584f1c912
kmodules.xyz/client-go v0.34.2
kmodules.xyz/offshoot-api v0.34.0
kmodules.xyz/resource-metadata v0.40.2
kmodules.xyz/resource-metadata v0.41.0
kubeops.dev/external-dns-operator v0.3.0
kubevault.dev/apimachinery v0.22.0
sigs.k8s.io/controller-runtime v0.22.4
sigs.k8s.io/gateway-api v1.4.0
sigs.k8s.io/gateway-api v1.4.1
sigs.k8s.io/randfill v1.0.0
sigs.k8s.io/yaml v1.6.0
voyagermesh.dev/installer v0.0.0-20251230080904-cdc0a2148b57
voyagermesh.dev/installer v0.0.0-20260126155429-994b493cefc6
)

require (
Expand Down
16 changes: 8 additions & 8 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ github.com/docker/docker-credential-helpers v0.9.4 h1:76ItO69/AP/V4yT9V4uuuItG0B
github.com/docker/docker-credential-helpers v0.9.4/go.mod h1:v1S+hepowrQXITkEfw6o4+BMbGot02wiKpzWhGUZK6c=
github.com/emicklei/go-restful/v3 v3.13.0 h1:C4Bl2xDndpU6nJ4bc1jXd+uTmYPVUwkD6bFY/oTyCes=
github.com/emicklei/go-restful/v3 v3.13.0/go.mod h1:6n3XBCmQQb25CM2LCACGz8ukIrRry+4bhvbpWn3mrbc=
github.com/envoyproxy/gateway v1.6.1 h1:Etp7MR3Nix72EM8bmHWxCW3329oFRTlyvFiDQGXDvdw=
github.com/envoyproxy/gateway v1.6.1/go.mod h1:F3Spa//JPyvpg8XXa5ZAvbrG8KdjObBpPYWVVHT9Hv8=
github.com/envoyproxy/gateway v1.6.3 h1:HPO5vUHpw/h3H83UaN8xtSxNXfYUrkSDnUeJ+jvz1aM=
github.com/envoyproxy/gateway v1.6.3/go.mod h1:YXE9a1t4gOpzH6rreY7RzoZrQCIbYSRGvKRnZU3K3E8=
github.com/evanphx/json-patch v5.9.11+incompatible h1:ixHHqfcGvxhWkniF1tWxBHA0yb4Z+d1UQi45df52xW8=
github.com/evanphx/json-patch v5.9.11+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk=
github.com/evanphx/json-patch/v5 v5.9.11 h1:/8HVnzMq13/3x9TPvjG08wUGqBTmZBsCWzjTM0wiaDU=
Expand Down Expand Up @@ -296,8 +296,8 @@ kmodules.xyz/go-containerregistry v0.0.15 h1:PRY5FDOzb6u23KOulQ4SWNdeUkBKmezLyJX
kmodules.xyz/go-containerregistry v0.0.15/go.mod h1:rO0DEbYYEu1BfVcZ1pXV+3RgzVXr/k5hXcO+BQYVVDI=
kmodules.xyz/offshoot-api v0.34.0 h1:HnOOp8FrCjTWjtNApRDo6Ahe79tOlLrJmyye4xxO4Kk=
kmodules.xyz/offshoot-api v0.34.0/go.mod h1:F+B59yYw4CZJ4uD4xu6C+mMLzIXUtuH7E+SbDICl9jE=
kmodules.xyz/resource-metadata v0.40.2 h1:2J+UvAaHXfqDStO2SKqeVkER4z/kSOqpj8Iyrc9+V4Y=
kmodules.xyz/resource-metadata v0.40.2/go.mod h1:38+41aUSrWqrQDeaSITKoxAiGT0ysQk5yjRODqBadpw=
kmodules.xyz/resource-metadata v0.41.0 h1:9wUOg2EvAOW3n8I+tbZnE1PJDdolX+94/Mn7FBZZy9w=
kmodules.xyz/resource-metadata v0.41.0/go.mod h1:xntcQko2QLbLEHwGE4TQ7I/80fcBQzcexbep97Akstk=
kmodules.xyz/schema-checker v0.4.2 h1:tAbxEtM759GxDM/3sQi/+OKKwUsEF+Ih4KReV3Eb/Xw=
kmodules.xyz/schema-checker v0.4.2/go.mod h1:N7ETPwfY4LbTHbydC9jjssPmYKKgZ8DC0IuLCU55wwc=
kubeops.dev/external-dns-operator v0.3.0 h1:KIWX0C+5en8levhkdlM9htZ+EsowIWm9mgLTdsJYUzo=
Expand All @@ -306,8 +306,8 @@ kubevault.dev/apimachinery v0.22.0 h1:6ysCHgKe0Sw2z35UkpiA8xfWwsGMmzpLEw6RDp5HF/
kubevault.dev/apimachinery v0.22.0/go.mod h1:QArlKB79Ho4PauRS2ioX4FEVjF79EbwAaomXhkLC/Hk=
sigs.k8s.io/controller-runtime v0.22.4 h1:GEjV7KV3TY8e+tJ2LCTxUTanW4z/FmNB7l327UfMq9A=
sigs.k8s.io/controller-runtime v0.22.4/go.mod h1:+QX1XUpTXN4mLoblf4tqr5CQcyHPAki2HLXqQMY6vh8=
sigs.k8s.io/gateway-api v1.4.0 h1:ZwlNM6zOHq0h3WUX2gfByPs2yAEsy/EenYJB78jpQfQ=
sigs.k8s.io/gateway-api v1.4.0/go.mod h1:AR5RSqciWP98OPckEjOjh2XJhAe2Na4LHyXD2FUY7Qk=
sigs.k8s.io/gateway-api v1.4.1 h1:NPxFutNkKNa8UfLd2CMlEuhIPMQgDQ6DXNKG9sHbJU8=
sigs.k8s.io/gateway-api v1.4.1/go.mod h1:AR5RSqciWP98OPckEjOjh2XJhAe2Na4LHyXD2FUY7Qk=
sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730 h1:IpInykpT6ceI+QxKBbEflcR5EXP7sU1kvOlxwZh5txg=
sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730/go.mod h1:mdzfpAEoE6DHQEN0uh9ZbOCuHbLK5wOm7dK4ctXE9Tg=
sigs.k8s.io/randfill v1.0.0 h1:JfjMILfT8A6RbawdsK2JXGBR5AQVfd+9TbzrlneTyrU=
Expand All @@ -316,7 +316,7 @@ sigs.k8s.io/structured-merge-diff/v6 v6.3.0 h1:jTijUJbW353oVOd9oTlifJqOGEkUw2jB/
sigs.k8s.io/structured-merge-diff/v6 v6.3.0/go.mod h1:M3W8sfWvn2HhQDIbGWj3S099YozAsymCo/wrT5ohRUE=
sigs.k8s.io/yaml v1.6.0 h1:G8fkbMSAFqgEFgh4b1wmtzDnioxFCUgTZhlbj5P9QYs=
sigs.k8s.io/yaml v1.6.0/go.mod h1:796bPqUfzR/0jLAl6XjHl3Ck7MiyVv8dbTdyT3/pMf4=
voyagermesh.dev/installer v0.0.0-20251230080904-cdc0a2148b57 h1:qcVUlFsLB6qg6qq+Z1U6KtXlby+L5St3O9yFpcxt1m0=
voyagermesh.dev/installer v0.0.0-20251230080904-cdc0a2148b57/go.mod h1:e1DWSADBi9bkcJjH6AEJtDwfeRDli8u8f5aMOBCh47I=
voyagermesh.dev/installer v0.0.0-20260126155429-994b493cefc6 h1:EP6+PZ0Sjf+aU5LQuMxX79qkP2PADx9U7FbnNgyYE5U=
voyagermesh.dev/installer v0.0.0-20260126155429-994b493cefc6/go.mod h1:3LtOSsXKkBcxatgkw89UAugoybCFvLxLNqbeYQqG3Jw=
x-helm.dev/apimachinery v0.0.18 h1:UHrC0PGjeSRSRECXRaVUl4fIIwwyQSnNFCCAevSI14w=
x-helm.dev/apimachinery v0.0.18/go.mod h1:C+M2A9cVmNhqP6ZGft4opUm1cPiWLHukKV5kWNkzXZs=

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

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

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

14 changes: 7 additions & 7 deletions vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ github.com/docker/docker-credential-helpers/credentials
## explicit; go 1.13
github.com/emicklei/go-restful/v3
github.com/emicklei/go-restful/v3/log
# github.com/envoyproxy/gateway v1.6.1
## explicit; go 1.25.3
# github.com/envoyproxy/gateway v1.6.3
## explicit; go 1.25.6
github.com/envoyproxy/gateway/api/v1alpha1
# github.com/evanphx/json-patch v5.9.11+incompatible
## explicit
Expand Down Expand Up @@ -851,8 +851,8 @@ kmodules.xyz/go-containerregistry/name
# kmodules.xyz/offshoot-api v0.34.0
## explicit; go 1.24.0
kmodules.xyz/offshoot-api/api/v1
# kmodules.xyz/resource-metadata v0.40.2
## explicit; go 1.24.0
# kmodules.xyz/resource-metadata v0.41.0
## explicit; go 1.25
kmodules.xyz/resource-metadata/apis/shared
kmodules.xyz/resource-metadata/apis/ui
kmodules.xyz/resource-metadata/apis/ui/v1alpha1
Expand Down Expand Up @@ -910,7 +910,7 @@ sigs.k8s.io/controller-runtime/pkg/webhook/admission/metrics
sigs.k8s.io/controller-runtime/pkg/webhook/conversion
sigs.k8s.io/controller-runtime/pkg/webhook/conversion/metrics
sigs.k8s.io/controller-runtime/pkg/webhook/internal/metrics
# sigs.k8s.io/gateway-api v1.4.0
# sigs.k8s.io/gateway-api v1.4.1
## explicit; go 1.24.0
sigs.k8s.io/gateway-api/apis/v1
# sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730
Expand All @@ -931,8 +931,8 @@ sigs.k8s.io/structured-merge-diff/v6/value
# sigs.k8s.io/yaml v1.6.0
## explicit; go 1.22
sigs.k8s.io/yaml
# voyagermesh.dev/installer v0.0.0-20251230080904-cdc0a2148b57
## explicit; go 1.24.0
# voyagermesh.dev/installer v0.0.0-20260126155429-994b493cefc6
## explicit; go 1.25
voyagermesh.dev/installer/apis/installer
voyagermesh.dev/installer/apis/installer/v1alpha1
# x-helm.dev/apimachinery v0.0.18
Expand Down

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

Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
/*
Copyright AppsCode Inc. and Contributors

Licensed under the AppsCode Community License 1.0.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

https://github.com/appscode/licenses/raw/1.0.0/AppsCode-Community-1.0.0.md

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

package v1alpha1

import (
core "k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"kmodules.xyz/resource-metadata/apis/shared"
)

const (
ResourceKindCrdManager = "CrdManager"
ResourceCrdManager = "crdmanager"
ResourceCrdManagers = "crdmanagers"
)

// CrdManager defines the schama for CrdManager operator installer.

// +genclient
// +genclient:skipVerbs=updateStatus
// +k8s:openapi-gen=true
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

// +kubebuilder:object:root=true
// +kubebuilder:resource:path=crdmanagers,singular=crdmanager,categories={kubeops,appscode}
type CrdManager struct {
metav1.TypeMeta `json:",inline,omitempty"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec CrdManagerSpec `json:"spec,omitempty"`
}

// CrdManagerSpec is the schema for Identity Server values file
type CrdManagerSpec struct {
//+optional
NameOverride string `json:"nameOverride"`
//+optional
FullnameOverride string `json:"fullnameOverride"`
//+optional
RegistryFQDN string `json:"registryFQDN"`
Image ImageRef `json:"image"`
ImagePullPolicy string `json:"imagePullPolicy"`
//+optional
ImagePullSecrets []string `json:"imagePullSecrets"`
//+optional
PodAnnotations map[string]string `json:"podAnnotations"`
// PodSecurityContext holds pod-level security attributes and common container settings.
// Optional: Defaults to empty. See type description for default values of each field.
// +optional
PodSecurityContext *core.PodSecurityContext `json:"podSecurityContext"`
//+optional
SecurityContext *core.SecurityContext `json:"securityContext"`
//+optional
Resources core.ResourceRequirements `json:"resources"`
//+optional
NodeSelector map[string]string `json:"nodeSelector"`
// If specified, the pod's tolerations.
// +optional
Tolerations []core.Toleration `json:"tolerations"`
// If specified, the pod's scheduling constraints
// +optional
Affinity *core.Affinity `json:"affinity"`
ServiceAccount ServiceAccountSpec `json:"serviceAccount"`
FeatureGates map[string]bool `json:"featureGates"`
RemoveUnusedCRDs bool `json:"removeUnusedCRDs"`
TTLSecondsAfterFinished int `json:"ttlSecondsAfterFinished"`
// +optional
Distro shared.DistroSpec `json:"distro"`
}

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

// CrdManagerList is a list of CrdManagers
type CrdManagerList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
// Items is a list of CrdManager CRD objects
Items []CrdManager `json:"items,omitempty"`
}
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ type VoyagerGateway struct {
Spec VoyagerGatewaySpec `json:"spec,omitempty"`
}

// VoyagerGatewaySpec is the schema for Operator Operator values file
// VoyagerGatewaySpec is the schema for Operator values file
type VoyagerGatewaySpec struct {
Global *VoyagerGatewayGlobal `json:"global,omitempty"`
PodDisruptionBudget *PodDisruptionBudgetSpec `json:"podDisruptionBudget,omitempty"`
Expand All @@ -55,8 +55,10 @@ type VoyagerGatewaySpec struct {
CreateNamespace *bool `json:"createNamespace,omitempty"`
KubernetesClusterDomain *string `json:"kubernetesClusterDomain,omitempty"`
Certgen *CertgenSpec `json:"certgen,omitempty"`
Tester *TesterSpec `json:"tester,omitempty"`
TopologyInjector *TopologyInjectorSpec `json:"topologyInjector"`
GatewayConverter *VoyagerGatewayConverter `json:"gateway-converter,omitempty"`
CRDManager *CRDManagerConverter `json:"crd-manager,omitempty"`
}

type VoyagerGatewayGlobal struct {
Expand Down Expand Up @@ -95,6 +97,7 @@ type DeploymentSpec struct {
type ServiceSpec struct {
TrafficDistribution string `json:"trafficDistribution"`
Annotations map[string]string `json:"annotations"`
Type string `json:"type"`
}
type HPASpec struct {
Enabled bool `json:"enabled"`
Expand Down Expand Up @@ -209,6 +212,21 @@ type CertgenRbacMetadata struct {
// +optional
Labels map[string]string `json:"labels"`
}
type TesterSpec struct {
ImageDetails `json:",inline,omitempty"`
// +optional
Resources core.ResourceRequirements `json:"resources"`
SecurityContext *core.SecurityContext `json:"securityContext,omitempty"`
// +optional
Pod TesterPodSpec `json:"pod"`
}
type TesterPodSpec struct {
PodTemplateSpec `json:",inline,omitempty"`
// SecurityContext holds pod-level security attributes and common container settings.
// Optional: Defaults to empty. See type description for default values of each field.
// +optional
SecurityContext *core.PodSecurityContext `json:"securityContext"`
}

type TopologyInjectorSpec struct {
Enabled bool `json:"enabled"`
Expand All @@ -221,6 +239,11 @@ type VoyagerGatewayConverter struct {
*GatewayConverterSpec `json:",inline,omitempty"`
}

type CRDManagerConverter struct {
Enabled bool `json:"enabled"`
*CrdManagerSpec `json:",inline,omitempty"`
}

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

// VoyagerGatewayList is a list of VoyagerGateways
Expand Down
Loading
Loading