Polr is a quick, modern, and open-source link shortener
helm repo add christianhuth https://charts.christianhuth.de
helm repo update
helm install my-release christianhuth/polrThis chart bootstraps a quick, modern and open-source link shortener called Polr using the Helm package manager.
- Kubernetes 1.19+
To install the chart with the release name my-release:
helm repo add christianhuth https://charts.christianhuth.de
helm repo update
helm install my-release christianhuth/polrThese commands deploy Polr on the Kubernetes cluster in the default configuration. The Values section lists the values that can be configured during installation.
Tip: List all releases using
helm list
To uninstall the my-release deployment:
helm uninstall my-releaseThe command removes all the Kubernetes components associated with the chart and deletes the release.
| Key | Type | Default | Description |
|---|---|---|---|
| admin.email | string | "" |
|
| admin.existingSecret | string | "" |
|
| admin.password | string | "admin" |
|
| admin.username | string | "admin" |
|
| affinity | object | {} |
Affinity settings for pod assignment |
| autoscaling.enabled | bool | false |
|
| autoscaling.maxReplicas | int | 100 |
|
| autoscaling.minReplicas | int | 1 |
|
| autoscaling.targetCPUUtilizationPercentage | int | 80 |
|
| env[0].name | string | "APP_ADDRESS" |
|
| env[0].value | string | "polr.local" |
|
| env[1].name | string | "APP_NAME" |
|
| env[1].value | string | "Polr" |
|
| externalDatabase.database | string | "polr" |
|
| externalDatabase.existingSecret | string | "" |
|
| externalDatabase.host | string | "polr-mysql" |
|
| externalDatabase.password | string | "polr" |
|
| externalDatabase.port | string | "3306" |
|
| externalDatabase.username | string | "polr" |
|
| fullnameOverride | string | "" |
String to fully override "polr.fullname" |
| image.pullPolicy | string | "Always" |
image pull policy |
| image.registry | string | "docker.io" |
image registory |
| image.repository | string | "ajanvier/polr" |
image repository |
| image.tag | string | "2.3.0" |
Overrides the image tag |
| imagePullSecrets | list | [] |
If defined, uses a Secret to pull an image from a private Docker registry or repository. |
| ingress.annotations | object | {} |
|
| ingress.className | string | "" |
|
| ingress.enabled | bool | false |
|
| ingress.hosts[0].host | string | "chart-example.local" |
|
| ingress.hosts[0].paths[0].path | string | "/" |
|
| ingress.hosts[0].paths[0].pathType | string | "ImplementationSpecific" |
|
| ingress.tls | list | [] |
|
| mail.enabled | bool | false |
|
| mail.existingSecret | string | "" |
|
| mail.fromAddress | string | "" |
|
| mail.fromName | string | "" |
|
| mail.host | string | "" |
|
| mail.password | string | "" |
|
| mail.port | string | "" |
|
| mail.username | string | "" |
|
| mysql.auth.database | string | "polr" |
|
| mysql.auth.existingSecret | string | "" |
|
| mysql.auth.password | string | "polr" |
|
| mysql.auth.username | string | "polr" |
|
| mysql.enabled | bool | true |
|
| mysql.image.repository | string | "bitnamilegacy/mysql" |
image repository for MySQL™ subchart from Bitnami |
| mysql.image.tag | string | "9.4.0-debian-12-r1" |
image tag for MySQL™ subchart from Bitnami |
| nameOverride | string | "" |
Provide a name in place of polr |
| nodeSelector | object | {} |
Node labels for pod assignment |
| podAnnotations | object | {} |
Annotations to be added to pods |
| podSecurityContext | object | {} |
pod-level security context |
| replicaCount | int | 1 |
Number of replicas |
| resources | object | {} |
Resource limits and requests for the headwind pods. |
| revisionHistoryLimit | int | 10 |
The number of old ReplicaSets to retain |
| route.main.additionalRules | list | [] |
Additional custom rules that can be added to the route |
| route.main.annotations | object | {} |
Add annotations to the route |
| route.main.apiVersion | string | "gateway.networking.k8s.io/v1" |
Set the route apiVersion, e.g. gateway.networking.k8s.io/v1 or gateway.networking.k8s.io/v1alpha2 |
| route.main.enabled | bool | false |
Enables or disables the route |
| route.main.filters | list | [] |
Filters define the filters that are applied to requests that match this rule. |
| route.main.hostnames | list | [] |
Hostnames to be matched |
| route.main.httpsRedirect | bool | false |
adds a filter for redirecting to https (HTTP 301 Moved Permanently). To redirect HTTP traffic to HTTPS, you need to have a Gateway with both HTTP and HTTPS listeners. Matches and filters do not take effect if enabled. Ref. https://gateway-api.sigs.k8s.io/guides/http-redirect-rewrite/ |
| route.main.kind | string | "HTTPRoute" |
Set the route kind Valid options are GRPCRoute, HTTPRoute, TCPRoute, TLSRoute, UDPRoute |
| route.main.labels | object | {} |
Add labels to the route |
| route.main.matches | list | see values.yaml | define conditions used for matching the rule against incoming HTTP requests. |
| route.main.parentRefs | list | [] |
Parent references (Gateway) |
| route.main.timeouts | object | {} |
defines the timeouts that can be configured for an HTTP request |
| securityContext | object | {} |
container-level security context |
| service.port | int | 80 |
Kubernetes port where service is exposed |
| service.type | string | "ClusterIP" |
Kubernetes service type |
| serviceAccount.annotations | object | {} |
Annotations to add to the service account |
| serviceAccount.create | bool | true |
Specifies whether a service account should be created |
| serviceAccount.name | string | "" |
The name of the service account to use. If not set and create is true, a name is generated using the fullname template |
| tolerations | list | [] |
Toleration labels for pod assignment |
Specify each parameter using the --set key=value[,key=value] argument to helm install.
Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example,
helm install my-release -f values.yaml christianhuth/polrThis major updates the MySQL subchart to its newest major, 14.0.0: Here you can find more information about the changes introduced in that version.
This major updates the MySQL subchart to its newest major, 13.0.0: Here you can find more information about the changes introduced in that version.
This major updates the MySQL subchart to its newest major, 12.2.0. Here and here you can find more information about the changes introduced in that version.