Skip to content

Commit

Permalink
argocd: add testkube
Browse files Browse the repository at this point in the history
Signed-off-by: Victor Login <batazor@evrone.com>
  • Loading branch information
batazor committed Jan 16, 2023
1 parent 9b77827 commit 61752e1
Show file tree
Hide file tree
Showing 6 changed files with 101 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ops/Helm/addons/testkube/Chart.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
dependencies:
- name: testkube
repository: https://kubeshop.github.io/helm-charts
version: 1.8.89
digest: sha256:e48e1d0f48df6e6d41da97f8909e6edfb6198e0498e9113fb3ac51c43f2758c8
generated: "2023-01-16T18:01:16.050685+06:00"
19 changes: 19 additions & 0 deletions ops/Helm/addons/testkube/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
apiVersion: v2 # The chart API version (required)
appVersion: "1.0.0" # The version of the app that this contains (optional)
name: testkube # The name of the chart (required)
version: 0.2.0 # A SemVer 2 version (required)
kubeVersion: ">= 1.22.0 || >= v1.22.0-0" # A SemVer range of compatible Kubernetes versions (optional)
keywords: # A list of keywords about this project (optional)
- flux
maintainers:
- email: batazor111@gmail.com
name: batazor
url: batazor.ru
engine: gotpl
type: application # It is the type of chart (optional)
deprecated: false # Whether this chart is deprecated (optional, boolean)
dependencies:
- name: testkube
version: 1.8.89
repository: https://kubeshop.github.io/helm-charts
condition: testkube.enabled
Binary file not shown.
5 changes: 5 additions & 0 deletions ops/Helm/addons/testkube/templates/NOTES.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
CHART NAME: {{ .Chart.Name }}
CHART VERSION: {{ .Chart.Version }}
APP VERSION: {{ .Chart.AppVersion }}

** Please be patient while the chart is being deployed **
33 changes: 33 additions & 0 deletions ops/Helm/addons/testkube/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Common default values for argo-cd.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.

testkube:
enabled: true

mongodb:
enabled: false

testkube-api:
nats:
enabled: false

minio:
enabled: false

testkube-dashboard:
ingress:
enabled: true

annotations:
cert-manager.io/cluster-issuer: cert-manager-production
nginx.ingress.kubernetes.io/enable-modsecurity: "false"
nginx.ingress.kubernetes.io/enable-owasp-core-rules: "true"
nginx.ingress.kubernetes.io/enable-opentracing: "true"
nginx.ingress.kubernetes.io/rewrite-target: /$1
nginx.ingress.kubernetes.io/use-regex: "true"

path: /testkube/?(.*)
## Hostnames must be provided if Ingress is enabled.
hosts:
- shortlink.best
38 changes: 38 additions & 0 deletions ops/argocd/infrastructure/testkube/application.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: testkube
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: shortlink
destination:
name: ''
namespace: testkube
server: 'https://kubernetes.default.svc'
source:
path: ops/Helm/addons/testkube
repoURL: 'https://github.com/shortlink-org/shortlink'
targetRevision: HEAD
helm:
releaseName: testkube
syncPolicy:
automated:
prune: true
allowEmpty: true
selfHeal: true
syncOptions:
- CreateNamespace=true
- ServerSideApply=true
retry:
limit: 2
backoff:
duration: 10s
maxDuration: 3m0s
factor: 2
ignoreDifferences:
- group: kyverno.io
kind: ClusterPolicy
jqPathExpressions:
- .spec.rules[] | select(.name|test("autogen-."))

0 comments on commit 61752e1

Please sign in to comment.