Skip to content

Commit

Permalink
Set connector-service token timeout to 5 min (kyma-project#1829)
Browse files Browse the repository at this point in the history
* Set connector-service token timeout to 5 min
  • Loading branch information
crabtree authored and santiago-ventura committed Dec 11, 2018
1 parent 00f9a2d commit 262e24b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion components/connector-service/README.md
Expand Up @@ -25,7 +25,7 @@ The Connector Service has the following parameters:
- **internalAPIPort** - This port exposes the Connector Service within Kubernetes cluster. The default port is `8080`.
- **namespace** - Namespace where Connector Service is deployed. The default namespace is `kyma-integration`.
- **tokenLength** - Length of registration tokens. The default value is `64`.
- **tokenExpirationMinutes** - Time after which tokens expire and are no longer valid. The default value is `60` minutes.
- **tokenExpirationMinutes** - Time after which tokens expire and are no longer valid. The default value is `5` minutes.
- **domainName** - Domain name of the cluster, used for URL generating. Default domain name is `.wormhole.cluster.kyma.cx`.
- **certificateServiceHost** - Host at which this service is accessible, used for URL generating. Default host is `cert-service.wormhole.cluster.kyma.cx`.

Expand Down
Expand Up @@ -31,7 +31,7 @@ func parseArgs() *options {
internalAPIPort := flag.Int("internalAPIPort", 8080, "Internal API port.")
namespace := flag.String("namespace", "kyma-integration", "Namespace used by Certificate Service")
tokenLength := flag.Int("tokenLength", 64, "Length of a registration tokens.")
tokenExpirationMinutes := flag.Int("tokenExpirationMinutes", 60, "Time to Live of tokens expressed in minutes.")
tokenExpirationMinutes := flag.Int("tokenExpirationMinutes", 5, "Time to Live of tokens expressed in minutes.")
domainName := flag.String("domainName", ".wormhole.cluster.kyma.cx", "Domain name used for URL generation.")
connectorServiceHost := flag.String("connectorServiceHost", "cert-service.wormhole.cluster.kyma.cx", "Host at which this service is accessible.")

Expand Down
Expand Up @@ -10,7 +10,7 @@ The Connector Service has the following parameters, that can be set through the
- **internalAPIPort** - This port exposes the Connector Service within Kubernetes cluster. The default port is `8080`.
- **namespace** - Namespace where Connector Service is deployed. The default Namespace is `kyma-integration`.
- **tokenLength** - Length of registration tokens. The default value is `64`.
- **tokenExpirationMinutes** - Time after which tokens expire and are no longer valid. The default value is `60` minutes.
- **tokenExpirationMinutes** - Time after which tokens expire and are no longer valid. The default value is `5` minutes.
- **domainName** - Domain name of the cluster, used for generating URL. Default domain name is `.wormhole.cluster.kyma.cx`.
- **certificateServiceHost** - Host at which this service is accessible, used for generating URL. Default host is `cert-service.wormhole.cluster.kyma.cx`.

Expand Down
Expand Up @@ -5,7 +5,7 @@ deployment:
internalAPIPort: &internalAPIPort 8080
externalAPIPort: &externalAPIPort 8081
tokenLength: 64
tokenExpirationMinutes: 60
tokenExpirationMinutes: 5
envvars:
country: DE
organization: Organization
Expand Down

0 comments on commit 262e24b

Please sign in to comment.