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
36 changes: 36 additions & 0 deletions charts/service-gateway-presets/values.openapiv3_schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,42 @@ properties:
- Deployment
- DaemonSet
type: string
replicas:
format: int32
type: integer
resources:
properties:
claims:
items:
properties:
name:
type: string
request:
type: string
required:
- name
type: object
type: array
x-kubernetes-list-map-keys:
- name
x-kubernetes-list-type: map
limits:
additionalProperties:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
type: object
requests:
additionalProperties:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
type: object
type: object
securityContext:
properties:
allowPrivilegeEscalation:
Expand Down
5 changes: 5 additions & 0 deletions charts/service-gateway-presets/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,11 @@ envoy:
provisionerType: Deployment # DaemonSet
image: ghcr.io/voyagermesh/envoy
tag: "v1.37.2-ac"
# replicas only applies when provisionerType is Deployment
# replicas: 2
# resources:
# limits:
# memory: 1.5Gi
service:
# Default listener portmanager range to use for gateway exposure
portRange: "10000-12767"
Expand Down
7 changes: 7 additions & 0 deletions charts/service-gateway/templates/gateway/gwclass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,18 @@ spec:
kubernetes:
{{- if eq .Values.envoy.provisionerType "Deployment" }}
envoyDeployment:
{{- with .Values.envoy.replicas }}
replicas: {{ . }}
{{- end }}
{{- else }}
envoyDaemonSet:
{{- end }}
container:
image: "{{ .Values.envoy.image }}:{{ .Values.envoy.tag }}"
{{- with .Values.envoy.resources }}
resources:
{{- toYaml . | nindent 12 }}
{{- end }}
{{- if eq "true" ( include "distro.openshift" . ) }}
securityContext:
{{- toYaml (omit .Values.envoy.securityContext "runAsUser" "runAsGroup" "fsGroup" "supplementalGroups") | nindent 12 }}
Expand Down
36 changes: 36 additions & 0 deletions charts/service-gateway/values.openapiv3_schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,42 @@ properties:
- Deployment
- DaemonSet
type: string
replicas:
format: int32
type: integer
resources:
properties:
claims:
items:
properties:
name:
type: string
request:
type: string
required:
- name
type: object
type: array
x-kubernetes-list-map-keys:
- name
x-kubernetes-list-type: map
limits:
additionalProperties:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
type: object
requests:
additionalProperties:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
type: object
type: object
securityContext:
properties:
allowPrivilegeEscalation:
Expand Down
5 changes: 5 additions & 0 deletions charts/service-gateway/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,11 @@ envoy:
provisionerType: Deployment # DaemonSet
image: ghcr.io/voyagermesh/envoy
tag: "v1.37.2-ac"
# replicas only applies when provisionerType is Deployment
# replicas: 2
# resources:
# limits:
# memory: 1.5Gi
service:
# Default listener portmanager range to use for gateway exposure
portRange: "10000-12767"
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module go.bytebuilders.dev/installer
go 1.25.6

require (
go.bytebuilders.dev/catalog v0.0.23
go.bytebuilders.dev/catalog v0.0.25-0.20260706073121-789173bab27a
go.bytebuilders.dev/resource-model v0.4.0
go.bytebuilders.dev/ui-wizards v0.35.0
go.openviz.dev/installer v0.0.0-20260619044110-702becd1dd97
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,8 @@ github.com/zeebo/xxh3 v1.0.2 h1:xZmwmqxHZA8AI603jOQ0tMqmBr9lPeFwGg6d+xy9DC0=
github.com/zeebo/xxh3 v1.0.2/go.mod h1:5NWz9Sef7zIDm2JHfFlcQvNekmcEl9ekUZQQKCYaDcA=
go.appscode.dev/alerts v0.2.1-0.20260516020454-00c8e56b1991 h1:juyyBSMLxf/D/py8QidUT0wZUIhisivkdeCIvwXvob8=
go.appscode.dev/alerts v0.2.1-0.20260516020454-00c8e56b1991/go.mod h1:oG1OnN2JTilTTqGAHv4CCoqnvT3u0J8c7YgNny0Rj7g=
go.bytebuilders.dev/catalog v0.0.23 h1:C2QLyWa5e32WfhhJLvXgorPwQ1LvEVqT6Ox4GSY2Rf8=
go.bytebuilders.dev/catalog v0.0.23/go.mod h1:o+3cekrGPUeG95FPtGfDMNiX0k4Lz0vK0Bc8b4F4S9U=
go.bytebuilders.dev/catalog v0.0.25-0.20260706073121-789173bab27a h1:isqMBmEUshUGEiaCP7kFeJc6Y/q9zE+TN99jBHcbz9c=
go.bytebuilders.dev/catalog v0.0.25-0.20260706073121-789173bab27a/go.mod h1:zXAS4yNzCueduM3glK0JDuPuJd2MDvCx2PtauRtzT7I=
go.bytebuilders.dev/resource-model v0.4.0 h1:wDXg4SGYn3zNRuOj17gGo0qeSE//ytdzGPSxkHa8JvA=
go.bytebuilders.dev/resource-model v0.4.0/go.mod h1:wGndjj3y+Yjh7+e8Wjc6joqzZCC16WZfKNx9adAFVkw=
go.bytebuilders.dev/ui-wizards v0.35.0 h1:/JFbHqPFP/n57Igsg54ShFFENGcROiJHv+ENnE4nMqM=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,10 @@ type EnvoySpec struct {
Image string `json:"image"`
Tag string `json:"tag"`
//+optional
Replicas *int32 `json:"replicas,omitempty"`
//+optional
Resources core.ResourceRequirements `json:"resources,omitempty"`
//+optional
NodeSelector map[string]string `json:"nodeSelector"`
//+optional
SecurityContext *core.SecurityContext `json:"securityContext"`
Expand All @@ -238,6 +242,10 @@ type EnvoyValues struct {
Image string `json:"image"`
Tag string `json:"tag"`
//+optional
Replicas *int32 `json:"replicas,omitempty"`
//+optional
Resources core.ResourceRequirements `json:"resources,omitempty"`
//+optional
NodeSelector map[string]string `json:"nodeSelector"`
//+optional
SecurityContext *core.SecurityContext `json:"securityContext"`
Expand Down

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

2 changes: 1 addition & 1 deletion vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ github.com/zeebo/xxh3
## explicit; go 1.25
go.appscode.dev/alerts/apis/alerts
go.appscode.dev/alerts/apis/alerts/v1alpha1
# go.bytebuilders.dev/catalog v0.0.23
# go.bytebuilders.dev/catalog v0.0.25-0.20260706073121-789173bab27a
## explicit; go 1.25.6
go.bytebuilders.dev/catalog/api/gateway/v1alpha1
# go.bytebuilders.dev/resource-model v0.4.0
Expand Down
Loading