Skip to content
Draft
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
13 changes: 13 additions & 0 deletions components/envoy-configs/templates/gw-external.yaml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,19 @@ spec:
provider:
type: Kubernetes
kubernetes:
{{- with .Values.gateways.external.envoyDeployment }}
envoyDeployment:
{{- if .replicas }}
replicas: {{ .replicas }}
{{- end }}
{{- if .container }}
container:
{{- if .container.resources }}
resources:
{{- .container.resources | toYaml | nindent 12 }}
{{- end }}
{{- end }}
{{- end }}
envoyService:
annotations:
{{- .Values.gateways.external.serviceAnnotations | toYaml | nindent 10 }}
Expand Down
13 changes: 13 additions & 0 deletions components/envoy-configs/templates/gw-internal.yaml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,19 @@ spec:
provider:
type: Kubernetes
kubernetes:
{{- with .Values.gateways.internal.envoyDeployment }}
envoyDeployment:
{{- if .replicas }}
replicas: {{ .replicas }}
{{- end }}
{{- if .container }}
container:
{{- if .container.resources }}
resources:
{{- .container.resources | toYaml | nindent 12 }}
{{- end }}
{{- end }}
{{- end }}
envoyService:
annotations:
{{- .Values.gateways.internal.serviceAnnotations | toYaml | nindent 10 }}
Expand Down
84 changes: 84 additions & 0 deletions components/envoy-configs/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,48 @@
"serviceAnnotations": {
"type": "object",
"description": "Annotations to be placed on the Service generated for this gateway"
},
"externalTrafficPolicy": {
"type": "string",
"description": "External traffic policy for the gateway service",
"enum": ["Cluster", "Local"]
},
"envoyDeployment": {
"type": "object",
"description": "Configuration for the Envoy proxy deployment pods",
"properties": {
"replicas": {
"type": "integer",
"minimum": 1,
"description": "Number of Envoy proxy pod replicas"
},
"container": {
"type": "object",
"description": "Container-level configuration for the Envoy proxy",
"properties": {
"resources": {
"type": "object",
"description": "Resource requests and limits for the Envoy proxy container",
"properties": {
"requests": {
"type": "object",
"properties": {
"cpu": { "type": "string" },
"memory": { "type": "string" }
}
},
"limits": {
"type": "object",
"properties": {
"cpu": { "type": "string" },
"memory": { "type": "string" }
}
}
}
}
}
}
}
}
},
"required": [
Expand Down Expand Up @@ -55,6 +97,48 @@
"serviceAnnotations": {
"type": "object",
"description": "Annotations to be placed on the Service generated for this gateway"
},
"externalTrafficPolicy": {
"type": "string",
"description": "External traffic policy for the gateway service",
"enum": ["Cluster", "Local"]
},
"envoyDeployment": {
"type": "object",
"description": "Configuration for the Envoy proxy deployment pods",
"properties": {
"replicas": {
"type": "integer",
"minimum": 1,
"description": "Number of Envoy proxy pod replicas"
},
"container": {
"type": "object",
"description": "Container-level configuration for the Envoy proxy",
"properties": {
"resources": {
"type": "object",
"description": "Resource requests and limits for the Envoy proxy container",
"properties": {
"requests": {
"type": "object",
"properties": {
"cpu": { "type": "string" },
"memory": { "type": "string" }
}
},
"limits": {
"type": "object",
"properties": {
"cpu": { "type": "string" },
"memory": { "type": "string" }
}
}
}
}
}
}
}
}
},
"required": [
Expand Down
Loading