Skip to content

Commit f8b6076

Browse files
committed
Testing chart locally
1 parent 29723be commit f8b6076

35 files changed

+6429
-4
lines changed

charts/osm-arc/Chart.lock

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
dependencies:
22
- name: osm
3-
repository: https://openservicemesh.github.io/osm
3+
repository: file://../osm
44
version: 0.5.0
5-
digest: sha256:343d510c411a72e9abe9b9a740b0105c206271b813024917969ba0f7ecd4d8a6
6-
generated: "2020-11-13T13:54:31.7602449-05:00"
5+
digest: sha256:677195481f97d2a7a91b0e93849c64913de102d310740344793a9a3036bc47a8
6+
generated: "2020-11-16T20:15:58.3631219-05:00"

charts/osm-arc/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ appVersion: v0.5.0
2525
dependencies:
2626
- name: osm
2727
version: "0.5.0"
28-
repository: "https://openservicemesh.github.io/osm"
28+
repository: "file://../osm"
2929

charts/osm-arc/charts/osm-0.5.0.tgz

421 Bytes
Binary file not shown.

charts/osm/.helmignore

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Patterns to ignore when building packages.
2+
# This supports shell glob matching, relative path matching, and
3+
# negation (prefixed with !). Only one pattern per line.
4+
.DS_Store
5+
# Common VCS dirs
6+
.git/
7+
.gitignore
8+
.bzr/
9+
.bzrignore
10+
.hg/
11+
.hgignore
12+
.svn/
13+
# Common backup files
14+
*.swp
15+
*.bak
16+
*.tmp
17+
*.orig
18+
*~
19+
# Various IDEs
20+
.project
21+
.idea/
22+
*.tmproj
23+
.vscode/

charts/osm/Chart.yaml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
apiVersion: v2
2+
name: osm
3+
description: A Helm chart to install the OSM control plane on Kubernetes
4+
5+
# A chart can be either an 'application' or a 'library' chart.
6+
#
7+
# Application charts are a collection of templates that can be packaged into versioned archives
8+
# to be deployed.
9+
#
10+
# Library charts provide useful utilities or functions for the chart developer. They're included as
11+
# a dependency of application charts to inject those utilities and functions into the rendering
12+
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
13+
type: application
14+
15+
# This is the chart version. This version number should be incremented each time you make changes
16+
# to the chart and its templates, including the app version.
17+
version: 0.5.0
18+
19+
# This is the version number of the application being deployed. This version number should be
20+
# incremented each time you make changes to the application.
21+
appVersion: v0.5.0

charts/osm/README.md

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# osm
2+
3+
![Version: 0.4.2](https://img.shields.io/badge/Version-0.4.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.4.2](https://img.shields.io/badge/AppVersion-v0.4.2-informational?style=flat-square)
4+
5+
A Helm chart to install the OSM control plane on Kubernetes
6+
7+
## Values
8+
9+
| Key | Type | Default | Description |
10+
|-----|------|---------|-------------|
11+
| OpenServiceMesh.caBundleSecretName | string | `"osm-ca-bundle"` | |
12+
| OpenServiceMesh.certificateManager | string | `"tresor"` | |
13+
| OpenServiceMesh.certmanager.issuerGroup | string | `"cert-manager"` | |
14+
| OpenServiceMesh.certmanager.issuerKind | string | `"Issuer"` | |
15+
| OpenServiceMesh.certmanager.issuerName | string | `"osm-ca"` | |
16+
| OpenServiceMesh.deployJaeger | bool | `true` | |
17+
| OpenServiceMesh.enableBackpressureExperimental | bool | `false` | |
18+
| OpenServiceMesh.enableDebugServer | bool | `false` | |
19+
| OpenServiceMesh.enableEgress | bool | `false` | |
20+
| OpenServiceMesh.enableGrafana | bool | `false` | |
21+
| OpenServiceMesh.enableFluentbit | bool | `false` | |
22+
| OpenServiceMesh.enablePermissiveTrafficPolicy | bool | `false` | |
23+
| OpenServiceMesh.enablePrometheus | bool | `true` | |
24+
| OpenServiceMesh.envoyLogLevel | string | `"error"` | |
25+
| OpenServiceMesh.grafana.port | int | `3000` | |
26+
| OpenServiceMesh.image.pullPolicy | string | `"IfNotPresent"` | |
27+
| OpenServiceMesh.image.registry | string | `"openservicemesh"` | |
28+
| OpenServiceMesh.image.tag | string | `"v0.4.2"` | |
29+
| OpenServiceMesh.imagePullSecrets | list | `[]` | |
30+
| OpenServiceMesh.meshName | string | `"osm"` | |
31+
| OpenServiceMesh.prometheus.port | int | `7070` | |
32+
| OpenServiceMesh.prometheus.retention.time | string | `"15d"` | |
33+
| OpenServiceMesh.replicaCount | int | `1` | |
34+
| OpenServiceMesh.serviceCertValidityDuration | string | `"24h"` | |
35+
| OpenServiceMesh.sidecarImage | string | `"envoyproxy/envoy-alpine:v1.15.0"` | |
36+
| OpenServiceMesh.tracing.address | string | `"jaeger.osm-system.svc.cluster.local"` | |
37+
| OpenServiceMesh.tracing.enable | bool | `true` | |
38+
| OpenServiceMesh.tracing.endpoint | string | `"/api/v2/spans"` | |
39+
| OpenServiceMesh.tracing.port | int | `9411` | |
40+
| OpenServiceMesh.useHTTPSIngress | bool | `false` | |
41+
| OpenServiceMesh.vault.host | string | `nil` | |
42+
| OpenServiceMesh.vault.protocol | string | `"http"` | |
43+
| OpenServiceMesh.vault.role | string | `"openservicemesh"` | |
44+
| OpenServiceMesh.vault.token | string | `nil` | |
45+
| OpenServiceMesh.enforceSingleMesh | bool | `"false"` | |

charts/osm/crds/access.yaml

+90
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
---
2+
# TrafficTarget v1alpha2
3+
apiVersion: apiextensions.k8s.io/v1beta1
4+
kind: CustomResourceDefinition
5+
metadata:
6+
name: traffictargets.access.smi-spec.io
7+
spec:
8+
group: access.smi-spec.io
9+
scope: Namespaced
10+
names:
11+
kind: TrafficTarget
12+
shortNames:
13+
- tt
14+
plural: traffictargets
15+
singular: traffictarget
16+
version: v1alpha2
17+
versions:
18+
- name: v1alpha2
19+
served: true
20+
storage: true
21+
- name: v1alpha1
22+
served: false
23+
storage: false
24+
validation:
25+
openAPIV3Schema:
26+
properties:
27+
spec:
28+
required:
29+
- destination
30+
properties:
31+
destination:
32+
description: The destination of this traffic target.
33+
type: object
34+
required:
35+
- name
36+
- kind
37+
properties:
38+
kind:
39+
description: Kind of the destination.
40+
type: string
41+
name:
42+
description: Name of the destination.
43+
type: string
44+
namespace:
45+
description: Namespace of the destination.
46+
type: string
47+
port:
48+
description: Port number of the destination.
49+
type: number
50+
rules:
51+
description: Specifications of this traffic target.
52+
type: array
53+
items:
54+
type: object
55+
required:
56+
- name
57+
- kind
58+
properties:
59+
kind:
60+
description: Kind of this spec.
61+
type: string
62+
enum:
63+
- HTTPRouteGroup
64+
- TCPRoute
65+
name:
66+
description: Name of this spec.
67+
type: string
68+
matches:
69+
description: Match conditions of this spec.
70+
type: array
71+
items:
72+
type: string
73+
sources:
74+
description: Sources of this traffic target.
75+
type: array
76+
items:
77+
type: object
78+
required:
79+
- name
80+
- kind
81+
properties:
82+
kind:
83+
description: Kind of this source.
84+
type: string
85+
name:
86+
description: Name of this source.
87+
type: string
88+
namespace:
89+
description: Namespace of this source.
90+
type: string
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
apiVersion: apiextensions.k8s.io/v1beta1
2+
kind: CustomResourceDefinition
3+
metadata:
4+
name: backpressures.policy.openservicemesh.io
5+
spec:
6+
group: policy.openservicemesh.io
7+
version: v1alpha1
8+
names:
9+
kind: Backpressure
10+
plural: backpressures
11+
singular: backpressure
12+
scope: Namespaced
13+
validation:
14+
openAPIV3Schema:
15+
properties:
16+
spec:
17+
properties:
18+
maxConnections:
19+
description: "Max number of connections"
20+
type: integer
21+
pattern: '^[1-9]{1}[0-9]*'

charts/osm/crds/specs.yaml

+96
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
---
2+
apiVersion: apiextensions.k8s.io/v1beta1
3+
kind: CustomResourceDefinition
4+
metadata:
5+
name: httproutegroups.specs.smi-spec.io
6+
spec:
7+
group: specs.smi-spec.io
8+
scope: Namespaced
9+
names:
10+
kind: HTTPRouteGroup
11+
shortNames:
12+
- htr
13+
plural: httproutegroups
14+
singular: httproutegroup
15+
version: v1alpha3
16+
versions:
17+
- name: v1alpha3
18+
served: true
19+
storage: true
20+
- name: v1alpha2
21+
served: false
22+
storage: false
23+
- name: v1alpha1
24+
served: false
25+
storage: false
26+
validation:
27+
openAPIV3Schema:
28+
properties:
29+
spec:
30+
required:
31+
- matches
32+
properties:
33+
matches:
34+
description: Match conditions of this route group.
35+
type: array
36+
items:
37+
type: object
38+
required:
39+
- name
40+
properties:
41+
name:
42+
description: Name of the HTTP route.
43+
type: string
44+
pathRegex:
45+
description: URI path regex of the HTTP route.
46+
type: string
47+
methods:
48+
description: The HTTP methods of this HTTP route.
49+
type: array
50+
items:
51+
type: string
52+
description: The HTTP method of this HTTP route.
53+
enum:
54+
- '*'
55+
- GET
56+
- HEAD
57+
- PUT
58+
- POST
59+
- DELETE
60+
- CONNECT
61+
- OPTIONS
62+
- TRACE
63+
- PATCH
64+
headers:
65+
description: Header match conditions of this route.
66+
type: array
67+
items:
68+
description: Header match condition of this route.
69+
type: object
70+
additionalProperties:
71+
type: string
72+
---
73+
apiVersion: apiextensions.k8s.io/v1beta1
74+
kind: CustomResourceDefinition
75+
metadata:
76+
name: tcproutes.specs.smi-spec.io
77+
spec:
78+
group: specs.smi-spec.io
79+
scope: Namespaced
80+
names:
81+
kind: TCPRoute
82+
shortNames:
83+
- tr
84+
plural: tcproutes
85+
singular: tcproute
86+
version: v1alpha3
87+
versions:
88+
- name: v1alpha3
89+
served: true
90+
storage: true
91+
- name: v1alpha2
92+
served: false
93+
storage: false
94+
- name: v1alpha1
95+
served: false
96+
storage: false

charts/osm/crds/split.yaml

+49
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
apiVersion: apiextensions.k8s.io/v1beta1
2+
kind: CustomResourceDefinition
3+
metadata:
4+
name: trafficsplits.split.smi-spec.io
5+
spec:
6+
group: split.smi-spec.io
7+
version: v1alpha2
8+
scope: Namespaced
9+
names:
10+
kind: TrafficSplit
11+
listKind: TrafficSplitList
12+
shortNames:
13+
- ts
14+
plural: trafficsplits
15+
singular: trafficsplit
16+
versions:
17+
- name: v1alpha2
18+
served: true
19+
storage: true
20+
additionalPrinterColumns:
21+
- name: Service
22+
type: string
23+
description: The apex service of this split.
24+
JSONPath: .spec.service
25+
validation:
26+
openAPIV3Schema:
27+
properties:
28+
spec:
29+
type: object
30+
required:
31+
- service
32+
- backends
33+
properties:
34+
service:
35+
description: The apex service of this split.
36+
type: string
37+
backends:
38+
description: The backend services of this split.
39+
type: array
40+
items:
41+
type: object
42+
required: ['service', 'weight']
43+
properties:
44+
service:
45+
description: Name of the Kubernetes service.
46+
type: string
47+
weight:
48+
description: Traffic weight value of this backend.
49+
type: number

0 commit comments

Comments
 (0)