Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update from QAS-Labs/qtest-chart #12

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 6 additions & 15 deletions Charts/qtest-scenario/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
apiVersion: v2
name: qtest-scenario
description: A Helm chart for Kubernetes cluster of qtest-scenario

# A chart can be either an 'application' or a 'library' chart.
#
# Application charts are a collection of templates that can be packaged into versioned archives
Expand All @@ -11,14 +10,11 @@ description: A Helm chart for Kubernetes cluster of qtest-scenario
# a dependency of application charts to inject those utilities and functions into the rendering
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
type: application

dependencies:
- name: reloader
version: "*"
repository: "https://stakater.github.io/stakater-charts"
condition: reloader.enabled


- name: reloader
version: "*"
repository: "https://stakater.github.io/stakater-charts"
condition: reloader.enabled
maintainers:
- name: byangtri
email: b.yang@tricentis.com
Expand All @@ -28,20 +24,15 @@ maintainers:
email: l.nguyen@tricentis.com
- name: tomasw
email: t.wallick@ext.tricentis.com

home: https://github.com/QAS-Labs/qtest-chart.git

kubeVersion: ">=1.18.0-0"
kubeVersion: ">=1.16.0-0"
icon: https://images.g2crowd.com/uploads/product/image/social_landscape/social_landscape_c2d6524c36c94138504f7a18bf179d76/tricentis-qtest.png

# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)

version: 0.1.0

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "3.3.4"
appVersion: "11"
37 changes: 37 additions & 0 deletions Charts/qtest-scenario/templates/resourcequota.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{{/*{{- if .Values.resourceQuota.enabled }}
apiVersion: v1
kind: ResourceQuota
metadata:
name: qtest-scenario-resource-quota
namespace: {{ .Values.namespace.name }}
spec:
hard:
limits.cpu: "4"
limits.memory: 4Gi
requests.cpu: "4"
requests.memory: 4Gi
pods: "4"
{{- end }}
---
{{- if .Values.limitRange.enabled }}
apiVersion: v1
kind: LimitRange
metadata:
name: qtest-scenario-limit-range
spec:
limits:
- max:
cpu: "1"
memory: 1Gi
min:
cpu: "1"
memory: 1Gi
default:
cpu: "1"
memory: 1Gi
defaultRequest:
cpu: "1"
memory: 1Gi
type: Container
{{- end }}
*/}}
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
35 changes: 10 additions & 25 deletions Charts/qtest-scenario/values.yaml
Original file line number Diff line number Diff line change
@@ -1,28 +1,24 @@
# Default values for scenario App.
namespace:
name: qtest

reloader:
enabled: false

secrets:
enabled: true

image:
repository: qasymphony/scenario
repository: qasymphony/manager
pullPolicy: IfNotPresent
tag: "3.3.4"

tag: "11"
liquibasetag: 11
liquibase: qasymphony/manager-liquibase
deployment:
annotations: {}

service:
type: LoadBalancer
port: 6080
targetPort: 6080
serviceName: qtest-scenario-service
annotations: {}

qTestScenario:
qTestScenarioDBName: scenario
qTestScenarioDBUserName: postgres
Expand All @@ -35,7 +31,6 @@ qTestScenario:
qTestScenarioRefreshTokenSecret: ""
qTestScenarioAppKeyDescriptor: ""
qTestScenarioQTestURL: https://nephele.qtest.local

#### Ingress/IngressClass (> K8s 1.18-1.22+) #####
ingressClass:
enabled: true
Expand All @@ -44,7 +39,6 @@ ingressClass:
isDefaultClass: true
# Use to force a networking.k8s.io API Version for certain CI/CD applications. Ex. "v1"
fallbackApiVersion: ""

ingress:
enabled: true
name: qtest-scenario-ingress
Expand All @@ -53,30 +47,24 @@ ingress:
canary:
annotationPrefix: ""
annotations: {}
# canary-by-header: []
# canary-by-header-pattern: []
# canary-by-header: []
# canary-by-header-pattern: []
hosts:
host: qtest.svc.com

paths: []

extraPaths:
- path: /*
pathType: ImplementationSpecific

tls:
[]
# - secretName: qtest-svc-tls
# hosts:
# - svc.qtest.com
tls: []
# - secretName: qtest-svc-tls
# hosts:
# - svc.qtest.com
https: false

# VPA values
vpaAutoscaling:
enabled: false
updatePolicy:
updateMode: "Off"

# HPA values
autoscaling:
enabled: true
Expand All @@ -87,17 +75,14 @@ autoscaling:
failureThreshold: 4
targetCPUUtilizationPercentage: 85
targetMemoryUtilizationPercentage: 85

resources:
requests:
cpu: 1
memory: 1Gi
limits:
cpu: 1
memory: 1Gi

limitRange:
enabled: false

resourceQuota:
enabled: false