Skip to content

Commit

Permalink
Update helm chart
Browse files Browse the repository at this point in the history
  • Loading branch information
chintan8saaras committed Nov 29, 2022
1 parent 858a1b9 commit 7990f0c
Show file tree
Hide file tree
Showing 8 changed files with 113 additions and 22 deletions.
13 changes: 11 additions & 2 deletions helm-chart/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,23 @@ options:
@echo "make [helm-package-enroute] - build helm package for enroute"
@echo "make [helm-package-service-policy] - build helm package for service-policy"
@echo "make [helm-package-index] - build helm index for packages"
@echo "make [all] - build helm package fror enroute, enroute-crds and build index"
@echo "make [all] - build all helm packages and index"

helm-package-enroute:
helm package ./enroute

helm-package-service-policy:
helm package ./service-policy

helm-package-service-globalconfig:
helm package ./service-globalconfig

helm-package-service-host-route:
helm package ./service-host-route

helm-package-demo-services:
helm package ./demo-services

helm-package-index:
helm repo index .

Expand All @@ -23,4 +32,4 @@ helm-lint:
helm-template:
cd enroute && helm template . > ../enroute-out.yaml && cd ../service-policy && helm template . > ../service-policy-out.yaml && cd ..

all: helm-package-enroute helm-package-index helm-package-service-policy helm-lint
all: helm-package-enroute helm-package-service-policy helm-lint helm-package-service-globalconfig helm-package-service-host-route helm-package-demo-services helm-package-index
3 changes: 1 addition & 2 deletions helm-chart/enroute/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v2
appVersion: v0.10.0
name: enroute
description: EnRoute API Gateway
home: https://getenroute.io/
icon: https://getenroute.io/favicon.ico
Expand All @@ -12,7 +12,6 @@ keywords:
maintainers:
- email: [email protected]
name: contact
name: enroute
sources:
- https://github.com/saarasio/enroute
- https://getenroute.io
Expand Down
27 changes: 26 additions & 1 deletion helm-chart/enroute/crds/enroute.saaras.io_gatewayhosts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ spec:
(or path) should be swapped with this value
type: string
retryPolicy:
description: // The retry policy for this route
description: The retry policy for this route
properties:
count:
description: NumRetries is maximum allowed number of retries.
Expand All @@ -156,6 +156,17 @@ spec:
description: PerTryTimeout specifies the timeout per retry
attempt. Ignored if NumRetries is not supplied.
type: string
retriableStatusCodes:
description: HTTP status codes that should trigger a retry
in addition to those specified by RetryOn.
items:
format: int32
type: integer
type: array
retryOn:
description: RetryOn specifies the conditions on which to
retry a request.
type: string
required:
- count
type: object
Expand Down Expand Up @@ -277,6 +288,20 @@ spec:
timeoutPolicy:
description: The timeout policy for this route
properties:
cluster_connect:
description: Timeout for new network connections, if not
set default value is 5s
type: string
cluster_idle:
description: Idle Timeout for upstream connections, duration
for which there are no active connections default is 1h,
to disable, set it to 0
type: string
cluster_max_duration:
description: Maximum duration for connection
type: string
idle:
type: string
request:
description: Timeout for receiving a response from the server
after processing a request from client. If not supplied
Expand Down
27 changes: 26 additions & 1 deletion helm-chart/enroute/crds/enroute.saaras.io_serviceroutes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ spec:
(or path) should be swapped with this value
type: string
retryPolicy:
description: // The retry policy for this route
description: The retry policy for this route
properties:
count:
description: NumRetries is maximum allowed number of retries.
Expand All @@ -138,6 +138,17 @@ spec:
description: PerTryTimeout specifies the timeout per retry
attempt. Ignored if NumRetries is not supplied.
type: string
retriableStatusCodes:
description: HTTP status codes that should trigger a retry
in addition to those specified by RetryOn.
items:
format: int32
type: integer
type: array
retryOn:
description: RetryOn specifies the conditions on which to
retry a request.
type: string
required:
- count
type: object
Expand Down Expand Up @@ -256,6 +267,20 @@ spec:
timeoutPolicy:
description: The timeout policy for this route
properties:
cluster_connect:
description: Timeout for new network connections, if not set
default value is 5s
type: string
cluster_idle:
description: Idle Timeout for upstream connections, duration
for which there are no active connections default is 1h,
to disable, set it to 0
type: string
cluster_max_duration:
description: Maximum duration for connection
type: string
idle:
type: string
request:
description: Timeout for receiving a response from the server
after processing a request from client. If not supplied
Expand Down
2 changes: 0 additions & 2 deletions helm-chart/enroute/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,6 @@ envoySettings:
mesh:
linkerD: false

opa:
enable: true
istio:
enable: false
strictmtls: false
55 changes: 45 additions & 10 deletions helm-chart/index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ entries:
enroute:
- apiVersion: v2
appVersion: v0.10.0
created: "2022-03-20T19:25:43.711958273Z"
created: "2022-11-02T21:02:20.335248313Z"
description: EnRoute API Gateway
digest: 2cebe602d0a3ef00d305107223761396f548197843f93da3a3ba173ec4a2898e
digest: 123d2c02f9c34addd3969b5f7d3099d55731db7db678e00fd8673ceb5ca5e709
home: https://getenroute.io/
icon: https://getenroute.io/favicon.ico
keywords:
Expand All @@ -26,9 +26,34 @@ entries:
urls:
- enroute-0.6.0.tgz
version: 0.6.0
- apiVersion: v2
appVersion: v0.10.0
created: "2022-11-02T21:02:20.341195944Z"
description: EnRoute API Gateway
digest: 969762761db97b9238153e9caeb7b35d541febc3b552f181df28d1f0f5d18ff3
home: https://getenroute.io/
icon: https://getenroute.io/favicon.ico
keywords:
- api gateway
- EnRoute - Envoy Route Controller
- Saaras
- envoy
- ingress
maintainers:
- email: [email protected]
name: contact
name: enroute
sources:
- https://github.com/saarasio/enroute
- https://getenroute.io
- https://github.com/envoyproxy/envoy
type: application
urls:
- online-version-enroute/enroute-0.6.0.tgz
version: 0.6.0
- apiVersion: v2
appVersion: v0.8.0
created: "2022-03-20T19:25:43.711351333Z"
created: "2022-11-02T21:02:20.334370619Z"
description: EnRoute API Gateway
digest: 4b35319db2838bcdb004e8bb65283e368604a16a0b9d87a29d6e413c80b4dbd7
home: https://getenroute.io/
Expand All @@ -53,7 +78,7 @@ entries:
version: 0.5.0
- apiVersion: v1
appVersion: 0.8.0
created: "2022-03-20T19:25:43.710790079Z"
created: "2022-11-02T21:02:20.332828056Z"
description: EnRoute API Gateway
digest: 55ef2115f0d40a327c6620ce21e124e23c2deb8161ef3059660f3f89b402b23b
home: https://getenroute.io/
Expand All @@ -77,7 +102,7 @@ entries:
version: 0.4.1
- apiVersion: v1
appVersion: 0.8.0
created: "2022-03-20T19:25:43.710133215Z"
created: "2022-11-02T21:02:20.330082182Z"
description: EnRoute API Gateway
digest: 7e5caac2e123092a6c93b0169268aafbabeac6453407d195af817024cf40239b
home: https://getenroute.io/
Expand All @@ -102,17 +127,27 @@ entries:
service-policy:
- apiVersion: v2
appVersion: v0.10.0
created: "2022-03-20T19:25:43.71496047Z"
created: "2022-11-02T21:02:20.339829414Z"
description: Service L7 Policy using EnRoute API Gateway
digest: e0329baac4b63cce56fe334453c0cfa2bb1d6d90bc3c30231cbc8a34ddc40e4d
digest: 624c83752f74a59a1afee97690ef7f49a7c49831eea0949e1fc4c7ce8e07edc1
name: service-policy
type: application
urls:
- service-policy-0.4.0.tgz
version: 0.4.0
- apiVersion: v2
appVersion: v0.10.0
created: "2022-11-02T21:02:20.342259299Z"
description: Service L7 Policy using EnRoute API Gateway
digest: c585ad86c26b16cfa971b0fd2c4708a344281ef5ff38270ad42bc24d1f47653d
name: service-policy
type: application
urls:
- online-version-service-policy/service-policy-0.4.0.tgz
version: 0.4.0
- apiVersion: v2
appVersion: 0.8.0
created: "2022-03-20T19:25:43.713805351Z"
created: "2022-11-02T21:02:20.338771599Z"
description: Service L7 Policy using EnRoute API Gateway
digest: c9dd7e5d9683e48b1d99d953f48eca80a064bee3ad1aed1403b48347729ca325
name: service-policy
Expand All @@ -122,12 +157,12 @@ entries:
version: 0.3.1
- apiVersion: v2
appVersion: 0.8.0
created: "2022-03-20T19:25:43.712718844Z"
created: "2022-11-02T21:02:20.33756344Z"
description: Service L7 Policy using EnRoute API Gateway
digest: 7456c967cf503a0b9400f71e3f3f795bbae1e227409876d34dfd84c219f1e9cc
name: service-policy
type: application
urls:
- service-policy-0.3.0.tgz
version: 0.3.0
generated: "2022-03-20T19:25:43.709404324Z"
generated: "2022-11-02T21:02:20.325081305Z"
6 changes: 3 additions & 3 deletions helm-chart/service-policy/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: service-policy
description: Service L7 Policy using EnRoute API Gateway
description: Demo Service L7 Policy using EnRoute API Gateway
type: application
version: 0.4.0
appVersion: v0.10.0
version: 0.5.0
appVersion: v0.12.0
2 changes: 1 addition & 1 deletion helm-chart/service-policy/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ service:
fqdn: ''
enableTLS: false
prefix: /default-service-prefix
createGlobalConfig: true
createGlobalConfig: false
httpHealthChecks: false

autoTLS:
Expand Down

0 comments on commit 7990f0c

Please sign in to comment.