Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[envoy] Support Azure Marketplace #276

Merged
merged 3 commits into from
Oct 1, 2024
Merged
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
1 change: 1 addition & 0 deletions charts/envoy/README.md
Original file line number Diff line number Diff line change
@@ -14,6 +14,7 @@ Current chart version is `3.0.0-SNAPSHOT`
| affinity | object | `{}` | the affinity/anti-affinity feature, greatly expands the types of constraints you can express |
| envoyConfiguration.adminAccessLogPath | string | `"/dev/stdout"` | admin log path |
| envoyConfiguration.serviceListeners | string | `"scalar-service:50051,scalar-privileged:50052"` | list of service name and port |
| global.platform | string | `""` | Specify the platform that you use. This configuration is for internal use. |
| grafanaDashboard.enabled | bool | `false` | enable grafana dashboard |
| grafanaDashboard.namespace | string | `"monitoring"` | which namespace grafana dashboard is located. by default monitoring |
| image.pullPolicy | string | `"IfNotPresent"` | Specify a imagePullPolicy |
4 changes: 4 additions & 0 deletions charts/envoy/templates/deployment.yaml
Original file line number Diff line number Diff line change
@@ -40,7 +40,11 @@ spec:
- name: {{ .Chart.Name }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
{{- if eq .Values.global.platform "azure" }}
image: "{{ .Values.global.azure.images.envoy.registry }}/{{ .Values.global.azure.images.envoy.image }}:{{ .Values.global.azure.images.envoy.tag }}"
{{- else }}
image: "{{ .Values.image.repository }}:{{ .Values.image.version }}"
{{- end }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- containerPort: 50051
8 changes: 8 additions & 0 deletions charts/envoy/values.schema.json
Original file line number Diff line number Diff line change
@@ -16,6 +16,14 @@
}
}
},
"global": {
"type": "object",
"properties": {
"platform": {
"type": "string"
}
}
},
"grafanaDashboard": {
"type": "object",
"properties": {
4 changes: 4 additions & 0 deletions charts/envoy/values.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
global:
# -- Specify the platform that you use. This configuration is for internal use.
platform: ""

# replicaCount -- number of replicas to deploy
replicaCount: 3