Skip to content
This repository was archived by the owner on Mar 14, 2024. It is now read-only.

Commit 6481ac5

Browse files
committed
Helm release - 1.5.0
1 parent 9ca372e commit 6481ac5

16 files changed

+445
-285
lines changed

helm-chart/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v2
22
name: nginx-service-mesh
33
description: NGINX Service Mesh
4-
version: 0.4.1
5-
appVersion: 1.4.1
4+
version: 0.5.0
5+
appVersion: 1.5.0
66
kubeVersion: ">= 1.18-0"
77
icon: https://raw.githubusercontent.com/nginxinc/nginx-service-mesh/master/helm-chart/chart-icon.png

helm-chart/configs/mesh-config.conf

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"port": 443
77
},
88
"autoInjectorPort": 9443,
9+
"clientMaxBodySize": {{ quote .Values.clientMaxBodySize }},
910
"environment": {{ quote .Values.environment }},
1011
"isUDPEnabled": {{ .Values.enableUDP }},
1112
"injection": {
@@ -20,11 +21,10 @@
2021
"svidTTL": {{ quote .Values.mtls.svidTTL }},
2122
"caKeyType": {{ quote .Values.mtls.caKeyType }}
2223
},
23-
"mtlsMode": {{ quote .Values.mtls.mode }},
2424
"namespace": {{ quote .Release.Namespace }},
2525
"nginxErrorLogLevel": {{ quote .Values.nginxErrorLogLevel }},
2626
"nginxLogFormat": {{ quote .Values.nginxLogFormat }},
27-
"prometheusAddress": {{ include "prometheus.address" . | quote }},
27+
"prometheusAddress": {{ quote .Values.prometheusAddress }},
2828
"proxy": {
2929
"ports": {
3030
"incoming": 8888,
@@ -60,10 +60,9 @@
6060
"image": {{ printf "%s/nginx-mesh-init:%s" .Values.registry.server .Values.registry.imageTag | quote }},
6161
"name": "nginx-mesh-init"
6262
},
63-
"tracing": {{if .Values.tracing }}{
63+
"tracing": {{ if .Values.tracing }}{
6464
"backend": {{ quote .Values.tracing.backend }},
65-
"backendAddress": {{ include "tracing.address" . | quote }},
66-
"isEnabled": {{ not .Values.tracing.disable }},
65+
"backendAddress": {{ quote .Values.tracing.address }},
6766
"sampleRate": {{ .Values.tracing.sampleRate }}
6867
},{{ else }}{},{{ end }}
6968
"telemetry": {{ if .Values.telemetry }}{

helm-chart/crds/httproutegroup.yaml

Lines changed: 54 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -7,62 +7,76 @@ metadata:
77
app.kubernetes.io/part-of: nginx-service-mesh
88
spec:
99
group: specs.smi-spec.io
10-
scope: Namespaced
1110
names:
1211
kind: HTTPRouteGroup
12+
listKind: HTTPRouteGroupList
13+
plural: httproutegroups
1314
shortNames:
1415
- htr
15-
plural: httproutegroups
1616
singular: httproutegroup
17+
scope: Namespaced
1718
versions:
1819
- name: v1alpha3
19-
served: true
20-
storage: true
2120
schema:
2221
openAPIV3Schema:
23-
type: object
22+
description: HTTPRouteGroup is the Schema for the httproutegroups API It is
23+
used to describe HTTP/1 and HTTP/2 traffic. It enumerates the routes that
24+
can be served by an application.
2425
properties:
25-
spec:
26+
apiVersion:
27+
description: 'APIVersion defines the versioned schema of this representation
28+
of an object. Servers should convert recognized schemas to the latest
29+
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
30+
type: string
31+
kind:
32+
description: 'Kind is a string value representing the REST resource this
33+
object represents. Servers may infer this from the endpoint the client
34+
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
35+
type: string
36+
metadata:
2637
type: object
27-
required:
28-
- matches
38+
spec:
39+
description: HTTPRouteGroupSpec defines the desired state of HTTPRouteGroup
40+
It is the specification for a HTTPRouteGroup
2941
properties:
3042
matches:
31-
description: Match conditions of this route group.
32-
type: array
43+
description: Routes for inbound traffic
3344
items:
34-
type: object
35-
required:
36-
- name
45+
description: HTTPMatch defines an individual route for HTTP traffic
3746
properties:
38-
name:
39-
description: Name of the HTTP route.
40-
type: string
41-
pathRegex:
42-
description: URI path regex of the HTTP route.
43-
type: string
47+
headers:
48+
additionalProperties:
49+
type: string
50+
description: Headers is a list of headers used to match HTTP traffic
51+
type: object
4452
methods:
45-
description: The HTTP methods of this HTTP route.
46-
type: array
53+
description: Methods for inbound traffic as defined in RFC 7231
54+
https://tools.ietf.org/html/rfc7231#section-4
4755
items:
4856
type: string
49-
description: The HTTP method of this HTTP route.
50-
enum:
51-
- "*"
52-
- GET
53-
- HEAD
54-
- PUT
55-
- POST
56-
- DELETE
57-
- CONNECT
58-
- OPTIONS
59-
- TRACE
60-
- PATCH
61-
headers:
62-
description: Header match conditions of this route.
6357
type: array
64-
items:
65-
description: Header match condition of this route.
66-
type: object
67-
additionalProperties:
68-
type: string
58+
name:
59+
description: Name is the name of the match for referencing in a TrafficTarget
60+
type: string
61+
pathRegex:
62+
description: PathRegex is a regular expression defining the route
63+
type: string
64+
type: object
65+
type: array
66+
type: object
67+
status:
68+
description: HTTPRouteGroupStatus defines the observed state of HTTPRouteGroup
69+
type: object
70+
required:
71+
- spec
72+
type: object
73+
served: true
74+
storage: true
75+
subresources:
76+
status: {}
77+
status:
78+
acceptedNames:
79+
kind: ""
80+
plural: ""
81+
conditions: []
82+
storedVersions: []

helm-chart/crds/tcproute.yaml

Lines changed: 33 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,46 @@ metadata:
77
app.kubernetes.io/part-of: nginx-service-mesh
88
spec:
99
group: specs.smi-spec.io
10-
scope: Namespaced
1110
names:
1211
kind: TCPRoute
12+
listKind: TCPRouteList
13+
plural: tcproutes
1314
shortNames:
1415
- tr
15-
plural: tcproutes
1616
singular: tcproute
17+
scope: Namespaced
1718
versions:
1819
- name: v1alpha3
19-
served: true
20-
storage: true
2120
schema:
2221
openAPIV3Schema:
22+
description: TCPRoute is the Schema for the tcproutes API
23+
properties:
24+
apiVersion:
25+
description: 'APIVersion defines the versioned schema of this representation
26+
of an object. Servers should convert recognized schemas to the latest
27+
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
28+
type: string
29+
kind:
30+
description: 'Kind is a string value representing the REST resource this
31+
object represents. Servers may infer this from the endpoint the client
32+
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
33+
type: string
34+
metadata:
35+
type: object
36+
spec:
37+
description: TCPRouteSpec defines the desired state of TCPRoute
38+
type: object
39+
status:
40+
description: TCPRouteStatus defines the observed state of TCPRoute
41+
type: object
2342
type: object
43+
served: true
44+
storage: true
45+
subresources:
46+
status: {}
47+
status:
48+
acceptedNames:
49+
kind: ""
50+
plural: ""
51+
conditions: []
52+
storedVersions: []

helm-chart/crds/trafficsplit.yaml

Lines changed: 72 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -7,66 +7,96 @@ metadata:
77
app.kubernetes.io/part-of: nginx-service-mesh
88
spec:
99
group: split.smi-spec.io
10-
scope: Namespaced
1110
names:
1211
kind: TrafficSplit
1312
listKind: TrafficSplitList
13+
plural: trafficsplits
1414
shortNames:
1515
- ts
16-
plural: trafficsplits
1716
singular: trafficsplit
17+
scope: Namespaced
1818
versions:
1919
- name: v1alpha3
20-
served: true
21-
storage: true
22-
additionalPrinterColumns:
23-
- name: Service
24-
type: string
25-
description: The apex service of this split.
26-
jsonPath: .spec.service
2720
schema:
2821
openAPIV3Schema:
29-
type: object
22+
description: TrafficSplit is the Schema for the trafficsplits API
3023
properties:
31-
spec:
24+
apiVersion:
25+
description: 'APIVersion defines the versioned schema of this representation
26+
of an object. Servers should convert recognized schemas to the latest
27+
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
28+
type: string
29+
kind:
30+
description: 'Kind is a string value representing the REST resource this
31+
object represents. Servers may infer this from the endpoint the client
32+
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
33+
type: string
34+
metadata:
3235
type: object
33-
required:
34-
- service
35-
- backends
36+
spec:
37+
description: TrafficSplitSpec defines the desired state of TrafficSplit
3638
properties:
37-
service:
38-
description: The apex service of this split.
39-
type: string
40-
matches:
41-
description: The HTTP route groups that this traffic split should
42-
match.
43-
type: array
39+
backends:
40+
description: Backends defines a list of Kubernetes services used as
41+
the traffic split destination
4442
items:
45-
type: object
46-
required:
47-
- kind
48-
- name
43+
description: TrafficSplitBackend defines a backend
4944
properties:
50-
kind:
51-
description: Kind of the matching group.
52-
type: string
53-
enum:
54-
- HTTPRouteGroup
55-
name:
56-
description: Name of the matching group.
45+
service:
46+
description: Service is the name of a Kubernetes service
5747
type: string
58-
backends:
59-
description: The backend services of this split.
60-
type: array
61-
items:
62-
type: object
48+
weight:
49+
description: Weight defines the traffic split percentage
50+
minimum: 0
51+
type: integer
6352
required:
6453
- service
6554
- weight
55+
type: object
56+
type: array
57+
matches:
58+
description: Matches allows defining a list of HTTP route groups that
59+
this traffic split object should match
60+
items:
61+
description: TypedLocalObjectReference contains enough information
62+
to let you locate the typed referenced object inside the same
63+
namespace.
6664
properties:
67-
service:
68-
description: Name of the Kubernetes service.
65+
apiGroup:
66+
description: APIGroup is the group for the resource being referenced.
67+
If APIGroup is not specified, the specified Kind must be in
68+
the core API group. For any other third-party types, APIGroup
69+
is required.
6970
type: string
70-
weight:
71-
description: Traffic weight value of this backend.
72-
type: number
71+
kind:
72+
description: Kind is the type of resource being referenced
73+
type: string
74+
name:
75+
description: Name is the name of resource being referenced
76+
type: string
77+
required:
78+
- kind
79+
- name
80+
type: object
81+
type: array
82+
service:
83+
description: Service represents the apex service
84+
type: string
85+
required:
86+
- backends
87+
- service
88+
type: object
89+
status:
90+
description: TrafficSplitStatus defines the observed state of TrafficSplit
91+
type: object
92+
type: object
93+
served: true
94+
storage: true
95+
subresources:
96+
status: {}
97+
status:
98+
acceptedNames:
99+
kind: ""
100+
plural: ""
101+
conditions: []
102+
storedVersions: []

0 commit comments

Comments
 (0)