diff --git a/charts/trakkar/.helmignore b/charts/trakkar/.helmignore new file mode 100644 index 00000000..0e8a0eb3 --- /dev/null +++ b/charts/trakkar/.helmignore @@ -0,0 +1,23 @@ +# Patterns to ignore when building packages. +# This supports shell glob matching, relative path matching, and +# negation (prefixed with !). Only one pattern per line. +.DS_Store +# Common VCS dirs +.git/ +.gitignore +.bzr/ +.bzrignore +.hg/ +.hgignore +.svn/ +# Common backup files +*.swp +*.bak +*.tmp +*.orig +*~ +# Various IDEs +.project +.idea/ +*.tmproj +.vscode/ diff --git a/charts/trakkar/Chart.yaml b/charts/trakkar/Chart.yaml new file mode 100644 index 00000000..7b4e4e06 --- /dev/null +++ b/charts/trakkar/Chart.yaml @@ -0,0 +1,19 @@ +apiVersion: v2 +name: trakkar +description: Traccar to Kalisio Maps integration +version: 1.0.0 +appVersion: 1.0.0 +home: https://github.com/kalisio/trakkar +annotations: + category: Service +keywords: + - geofencing + - kano +dependencies: + - name: kargo + version: x.x.x + repository: file://../kargo +maintainers: + - name: Kalisio + email: contact@kalisio.com + url: https://kalisio.com diff --git a/charts/trakkar/templates/deployements.yaml b/charts/trakkar/templates/deployements.yaml new file mode 100644 index 00000000..7066cd9a --- /dev/null +++ b/charts/trakkar/templates/deployements.yaml @@ -0,0 +1 @@ +{{- include "kargo.kdk-deployment" . }} diff --git a/charts/trakkar/values.yaml b/charts/trakkar/values.yaml new file mode 100644 index 00000000..7a55982b --- /dev/null +++ b/charts/trakkar/values.yaml @@ -0,0 +1,65 @@ +# geokoder default values + +global: + # secret where to share sentitive environment variables + secret: "" + +# commonAnnotations are annotations to be added to all resources (sub-charts are not considered). Evaluated as a template +commonAnnotations: {} + +# commoneLabels are labels to be added to all resources (sub-charts are not considered). Evaluated as a template +commonLabel: {} + +# replicatCount is the number of replicas +replicaCount: 1 + +image: + repository: kalisio/trakkar-gateway + tag: "" + pullPolicy: IfNotPresent + +# forceRestart forces the pod to be restarted when upgrading the chart +forceRestart: false + +containerPort: 3000 + + +# livenessEndpoint is the endpoint to use with liveness probe +livenessEndpoint: "/healthcheck" + +# dataSubPath is the subpath in the the dataVolume to mount +dataSubPath: "" + +# dataVolume is the specification for the volume where the data lies +dataVolume: {} +# nfs: +# server: "host or ip" +# path: "/zpool-foo/partition" +# readOnly: true + +distribution: + # enabled specifies whether or not to use distribution + enabled: true + # basePort specifies the starting port of the port range + basePort: 10030 + # highestPort specifies the ending port of the port range + highestPort: 10039 + # delay specifies the time to wait before starting service discovery + startDelay: "20000" + # redisUrl specifies the redis connection string + redisUrl: + secret: "" + key: "" + + +env: + # debug specifies the list of namespaces to enable debug output + debug: "" + +# resources are resource requests and limits to be applied +resources: {} + +# default security context, run as non root uid 1000 +podSecurityContext: + runAsNonRoot: true + runAsUser: 1000