-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master' into stac-22097
- Loading branch information
Showing
17 changed files
with
587 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,6 +60,7 @@ | |
'sandbox-operator', | ||
'sock-shop', | ||
'tenantprovisioning', | ||
'tenantmanagement', | ||
], | ||
}, | ||
rules: { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
apiVersion: v2 | ||
name: tenantmanagement | ||
description: Manages all SaaS tenants | ||
type: application | ||
|
||
version: 0.1.1 | ||
appVersion: "1.0.0" | ||
|
||
home: https://gitlab.com/stackvista/devops/helm-charts.git | ||
icon: https://www.stackstate.com/wp-content/uploads/2019/02/152x152-favicon.png | ||
maintainers: | ||
- name: SUSE Observability Team | ||
email: suse-observability-ops@suse.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
# tenantmanagement | ||
|
||
![Version: 0.1.1](https://img.shields.io/badge/Version-0.1.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.0.0](https://img.shields.io/badge/AppVersion-1.0.0-informational?style=flat-square) | ||
Manages all SaaS tenants | ||
**Homepage:** <https://gitlab.com/stackvista/devops/helm-charts.git> | ||
## Maintainers | ||
|
||
| Name | Email | Url | | ||
| ---- | ------ | --- | | ||
| SUSE Observability Team | <suse-observability-ops@suse.com> | | | ||
|
||
## Values | ||
|
||
| Key | Type | Default | Description | | ||
|-----|------|---------|-------------| | ||
| affinity | object | `{}` | | | ||
| app.db.password | string | `""` | | | ||
| app.db.url | string | `""` | | | ||
| app.db.username | string | `""` | | | ||
| app.scaling.api_key | string | `""` | | | ||
| app.scaling.url | string | `""` | | | ||
| app.sqs.billing_queue | string | `""` | | | ||
| app.sqs.provisioning_queue | string | `""` | | | ||
| app.sqs.provisioning_status_queue | string | `""` | | | ||
| autoscaling.enabled | bool | `false` | | | ||
| autoscaling.maxReplicas | int | `100` | | | ||
| autoscaling.minReplicas | int | `1` | | | ||
| autoscaling.targetCPUUtilizationPercentage | int | `80` | | | ||
| fullnameOverride | string | `""` | | | ||
| image.pullPolicy | string | `"IfNotPresent"` | | | ||
| image.repository | string | `"quay.io/stackstate/tenant-management"` | | | ||
| image.tag | string | `"0.1.0-SNAPSHOT-2d9f3ce5"` | | | ||
| ingress.annotations | string | `nil` | | | ||
| ingress.enabled | bool | `false` | Whether to deploy Ingress resource. | | ||
| ingress.host | string | `nil` | HTTP host for the ingress. | | ||
| ingress.tls.enabled | bool | `false` | Whether to enable TLS for ingress. | | ||
| ingress.tls.secretName | string | `nil` | The name of K8s secrets containing SSL certificate for ingress. | | ||
| livenessProbe | object | `{}` | | | ||
| nameOverride | string | `""` | | | ||
| nodeSelector | object | `{}` | | | ||
| podAnnotations | object | `{}` | | | ||
| podLabels | object | `{}` | | | ||
| podSecurityContext | object | `{}` | | | ||
| pullSecret.password | string | `""` | | | ||
| pullSecret.username | string | `""` | | | ||
| readinessProbe | object | `{}` | | | ||
| replicaCount | int | `1` | | | ||
| resources.limits.cpu | string | `"250m"` | | | ||
| resources.limits.memory | string | `"256Mi"` | | | ||
| resources.requests.cpu | string | `"100m"` | | | ||
| resources.requests.memory | string | `"256Mi"` | | | ||
| securityContext | object | `{}` | | | ||
| service.port | int | `80` | | | ||
| service.targetPort | int | `8080` | | | ||
| service.type | string | `"ClusterIP"` | | | ||
| serviceAccount.annotations | object | `{}` | | | ||
| serviceAccount.automount | bool | `true` | | | ||
| serviceAccount.create | bool | `true` | | | ||
| serviceAccount.name | string | `""` | | | ||
| tolerations | list | `[]` | | | ||
| volumeMounts | list | `[]` | | | ||
| volumes | list | `[]` | | | ||
|
||
## Overview | ||
tenantmanagement manages all SaaS tenants. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{{ template "chart.header" . }} | ||
{{ template "chart.deprecationWarning" . }} | ||
{{ template "chart.badgesSection" . }} | ||
{{ template "chart.description" . }} | ||
{{ template "chart.homepageLine" . }} | ||
{{ template "chart.maintainersSection" . }} | ||
{{ template "chart.sourcesSection" . }} | ||
{{ template "chart.requirementsSection" . }} | ||
{{ template "chart.valuesSection" . }} | ||
|
||
## Overview | ||
tenantmanagement manages all SaaS tenants. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
{{/* | ||
Expand the name of the chart. | ||
*/}} | ||
{{- define "tenantmanagement.name" -}} | ||
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }} | ||
{{- end }} | ||
|
||
{{/* | ||
Create a default fully qualified app name. | ||
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). | ||
If release name contains chart name it will be used as a full name. | ||
*/}} | ||
{{- define "tenantmanagement.fullname" -}} | ||
{{- if .Values.fullnameOverride }} | ||
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }} | ||
{{- else }} | ||
{{- $name := default .Chart.Name .Values.nameOverride }} | ||
{{- if contains $name .Release.Name }} | ||
{{- .Release.Name | trunc 63 | trimSuffix "-" }} | ||
{{- else }} | ||
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }} | ||
{{- end }} | ||
{{- end }} | ||
{{- end }} | ||
|
||
{{/* | ||
Create chart name and version as used by the chart label. | ||
*/}} | ||
{{- define "tenantmanagement.chart" -}} | ||
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }} | ||
{{- end }} | ||
|
||
{{/* | ||
Common labels | ||
*/}} | ||
{{- define "tenantmanagement.labels" -}} | ||
helm.sh/chart: {{ include "tenantmanagement.chart" . }} | ||
{{ include "tenantmanagement.selectorLabels" . }} | ||
{{- if .Chart.AppVersion }} | ||
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} | ||
{{- end }} | ||
app.kubernetes.io/managed-by: {{ .Release.Service }} | ||
{{- end }} | ||
|
||
{{/* | ||
Selector labels | ||
*/}} | ||
{{- define "tenantmanagement.selectorLabels" -}} | ||
app.kubernetes.io/name: {{ include "tenantmanagement.name" . }} | ||
app.kubernetes.io/instance: {{ .Release.Name }} | ||
{{- end }} | ||
|
||
{{/* | ||
Create the name of the service account to use | ||
*/}} | ||
{{- define "tenantmanagement.serviceAccountName" -}} | ||
{{- if .Values.serviceAccount.create }} | ||
{{- default (include "tenantmanagement.fullname" .) .Values.serviceAccount.name }} | ||
{{- else }} | ||
{{- default "default" .Values.serviceAccount.name }} | ||
{{- end }} | ||
{{- end }} |
Oops, something went wrong.