lubelogger
by anza-labs
Helm chartv1.4.10App v1.7.4Apache-2.0Verified publisher
LubeLogger is a web-based vehicle maintenance and fuel mileage tracker
About this chart
lubelogger
LubeLogger is a web-based vehicle maintenance and fuel mileage tracker
Homepage: https://lubelogger.com
Maintainers
| Name | Url | |
|---|---|---|
| shanduur | [email protected] | http://linkedin.com/in/urbanekmateusz |
Source Code
Installation
To install the chart with the release name lubelogger:
helm repo add anza-labs https://anza-labs.github.io/charts
helm repo update anza-labs
helm install lubelogger anza-labs/lubelogger --version 1.4.10
Upgrading
To upgrade an existing installation:
helm upgrade lubelogger anza-labs/lubelogger
Uninstalling
To uninstall an existing installation:
helm uninstall lubelogger
Values
| Key | Type | Default | Description |
|---|---|---|---|
| affinity | object | {} | Affinity settings for the pods. |
| autoscaling.enabled | bool | false | Specifies whether autoscaling is enabled. |
| autoscaling.maxReplicas | int | 3 | Maximum number of replicas for autoscaling. |
| autoscaling.minReplicas | int | 1 | Minimum number of replicas for autoscaling. |
| autoscaling.targetCPUUtilizationPercentage | int | 80 | Target CPU utilization percentage for autoscaling. |
| autoscaling.targetMemoryUtilizationPercentage | int | 80 | Target memory utilization percentage for autoscaling. |
| config.LANG | string | "en_US.UTF-8" | Locale and Language Settings, this will affect how numbers, currencies, and dates are formatted. |
| config.LC_ALL | string | "en_US.UTF-8" | Same as above. Note that some languages don't have UTF-8 encodings. |
| config.LOGLEVEL | string | "Information" | Specifies the level of logs. Valid levels are Trace, Debug, Information, Warning, Error, Critical and None. Learn more at: https://learn.microsoft.com/en-us/aspnet/core/fundamentals/logging/ |
| config.translations | list | ["https://raw.githubusercontent.com/hargata/lubelog_translations/main/Europe/pl_PL.json"] | Translations defines a list of URLs from which translation files will be fetched. These URLs point to JSON files containing translations for different languages or regions. The files will be downloaded by the init container and stored in the appropriate directory. |
| config.userConfig.AllowedHosts | string | "*" | Specifies allowed hosts for the application (use "*" to allow all hosts). |
| config.userConfig.DefaultTab | int | 8 | Sets the default tab to be shown when the application starts. |
| config.userConfig.EnableAuth | bool | true | Enables or disables authentication for the application. |
| config.userConfig.EnableAutoOdometerInsert | bool | false | Automatically inserts odometer readings based on previous data. |
| config.userConfig.EnableAutoReminderRefresh | bool | false | Automatically refreshes reminders without manual intervention. |
| config.userConfig.EnableCsvImports | bool | true | Enables the ability to import data from CSV files. |
| config.userConfig.EnableExtraFieldColumns | bool | false | Enables additional columns for extra field entries. |
| config.userConfig.EnableShopSupplies | bool | false | Enables tracking of shop supplies in transactions. |
| config.userConfig.HideSoldVehicles | bool | false | Hides vehicles marked as sold from the display. |
| config.userConfig.HideZero | bool | false | Determines whether zero values should be hidden in the UI. |
| config.userConfig.Logging.LogLevel."Microsoft.AspNetCore" | string | "Warning" | Sets the log level for Microsoft.AspNetCore-related components. Valid levels are Trace, Debug, Information, Warning, Error, Critical and None. Learn more at: https://learn.microsoft.com/en-us/aspnet/core/fundamentals/logging/ |
| config.userConfig.Logging.LogLevel.Default | string | "Information" | Specifies the default log level for all components. Valid levels are Trace, Debug, Information, Warning, Error, Critical and None. Learn more at: https://learn.microsoft.com/en-us/aspnet/core/fundamentals/logging/ |
| config.userConfig.PreferredGasMileageUnit | string | "" | Specifies the preferred unit for gas mileage. |
| config.userConfig.PreferredGasUnit | string | "" | Specifies the preferred unit for gas volume. |
| config.userConfig.UseDarkMode | bool | false | Enables or disables dark mode in the user interface. |
| config.userConfig.UseDescending | bool | false | Determines if lists are ordered in descending order by default. |
| config.userConfig.UseMPG | bool | true | Configures whether to use miles per gallon (MPG) as the fuel economy unit. |
| config.userConfig.UseMarkDownOnSavedNotes | bool | false | Allows saved notes to support markdown formatting. |
| config.userConfig.UseThreeDecimalGasCost | bool | true | Enables displaying gas costs with three decimal places for accuracy. |
| config.userConfig.UseUKMPG | bool | false | Uses UK miles per gallon (UK MPG) as the fuel economy unit. |
| config.userConfig.UserColumnPreferences | list | [] | Stores user preferences for column visibility. |
| config.userConfig.UserLanguage | string | "en_US" | Defines the user's language preference (e.g., "en_US"). |
| config.userConfig.UserNameHash | string | "8c6976e5b5410415bde908bd4dee15dfb167a9c873fc4bb8a81f6f2ab448a918" | Stores a hashed version of the user's username. It is sha256, and can be created using one the following commands: python3 -c 'import hashlib; print(hashlib.sha256("admin".encode("utf-8")).hexdigest())' |
| config.userConfig.UserPasswordHash | string | "5e884898da28047151d0e56f8dc6292773603d0d6aabbdd62a11ef721d1542d8" | Stores a hashed version of the user's password. It is sha256, and can be created using one the following commands: python3 -c 'import hashlib; print(hashlib.sha256("password".encode("utf-8")).hexdigest())' |
| config.userConfig.VisibleTabs | list | [0,1,4,2,3,6,5,8] | Specifies which tabs are visible in the user interface. |
| curl.image.pullPolicy | string | "IfNotPresent" | Image pull policy. |
| curl.image.repository | string | "docker.io/curlimages/curl" | Registry and repository for the image. |
| curl.image.tag | string | "8.23.0" | Tag for the image. |
| fullnameOverride | string | "" | Override for the full name. |
| image.pullPolicy | string | "IfNotPresent" | Image pull policy. |
| image.repository | string | "ghcr.io/hargata/lubelogger" | Registry and repository for the lubelogger image. |
| image.tag | string | "v1.7.4" | Tag for the image. |
| imagePullSecrets | list | [] | Secrets for pulling images. |
| ingress.annotations | object | {} | Annotations to add to the ingress. |
| ingress.className | string | "" | Ingress class name. |
| ingress.enabled | bool | false | Specifies whether ingress should be enabled. |
| ingress.hosts | list | [{"host":"lubelog.example.local","paths":[{"path":"/","pathType":"ImplementationSpecific"}]}] | List of ingress hosts. |
| ingress.tls | list | [] | List of TLS configurations for the ingress. |
| livenessProbe.httpGet | object | {"path":"/","port":"http"} | Liveness probe configuration. |
| nameOverride | string | "" | Override for the name. |
| nodeSelector | object | {} | Node selector for the pods. |
| oidc.authURL | string | "" | Authorization URL to the Provider's Login Page. |
| oidc.clientId | string | "" | Client Id to Authenticate with the Provider. |
| oidc.clientSecret | string | "" | Client Secret to Authenticate with the Provider. |
| oidc.create | bool | false | Defines if the secret with OIDC connection details should be created. |
| oidc.disableRegularLogin | bool | false | Auto re-direct user to OIDC login. |
| oidc.enabled | bool | false | Defines if OpenID Connect configuration should be included. |
| oidc.logOutURL | string | "" | Log Out URL for OIDC Provider, required if DisableRegularLogin=true. |
| oidc.name | string | "" | Specifies name of a secret used to configure the OpenID Connect. If not filled, uses full name. |
| oidc.providerName | string | "" | Name of the OpenID Connect Provider. |
| oidc.redirectURL | string | "" | https://<yourlubeloggerdomain.com>/Login/RemoteAuth (must be HTTPS). |
| oidc.scope | string | "openid email" | The scope for retrieving the user's email claim (usually it's just 'email'). |
| oidc.tokenURL | string | "" | URL to retrieve user JWT from the Provider. |
| oidc.usePKCE | bool | false | Whether LubeLogger should use PKCE. |
| oidc.userInfoURL | string | "" | UserInfo URL as an alternative option to retrieve user claims (required for certain OpenID Providers) |
| oidc.validateState | bool | false | Whether LubeLogger should validate state. |
| persistence.data.accessMode | string | "ReadWriteOnce" | Access mode for the PVC. |
| persistence.data.enabled | bool | false | Enable/disable PVC creation for data. |
| persistence.data.existingClaim | string | "" | Use an existing PVC if defined, otherwise create one. |
| persistence.data.size | string | "10Gi" | Storage size for the PVC. |
| persistence.data.storageClass | string | "" | Specify the StorageClass (if required). |
| podAnnotations | object | {} | Annotations to be added to the pods. |
| podLabels | object | {} | Labels to be added to the pods. |
| podSecurityContext | object | {} | |
| postgres.connect | bool | false | Defines if the LubeLogger should connect to the Postgres backend. It has no effect when postgres.create=true. |
| postgres.create | bool | false | Defines if the secret with Postgres connection details should be created. |
| postgres.database | string | "postgres" | Database name. |
| postgres.host | string | "postgres" | Host of the Postgres database. |
| postgres.keyRef | string | "POSTGRES_CONNECTION" | Defines the key under which postgres connection string can be found. It uses Npgsql connection format. |
| postgres.name | string | "" | Specifies name of a secret used to configure the LubeLogger's Postgres backend. If not filled, uses full name. |
| postgres.password | string | "postgres" | Password for the user used to connect to the Postgres database. |
| postgres.port | int | 5432 | Port of the Postgres database. |
| postgres.user | string | "postgres" | User used to connect to the Postgres database. |
| readinessProbe.httpGet | object | {"path":"/","port":"http"} | Readiness probe configuration. |
| replicaCount | int | 1 | Number of replicas for the deployment. |
| resources | object | {} | |
| secret.create | bool | true | Specifies whether a secret should be created. |
| secret.emailFrom | string | "" | Email from address for the secret. |
| secret.emailServer | string | "" | Email server for the secret. |
| secret.name | string | "" | Specifies name of a secret used to configure the LubeLogger's mail connection. If not filled, uses full name. |
| secret.password | string | "" | Password for the email server. |
| secret.port | int | 587 | Port for the email server. |
| secret.username | string | "" | Username for the email server. |
| securityContext | object | {} | |
| service.port | int | 80 | Service port. |
| service.type | string | "ClusterIP" | Service type. |
| serviceAccount.annotations | object | {} | Annotations to add to the service account. |
| serviceAccount.automount | bool | true | Automatically mount a ServiceAccount's API credentials. |
| 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. |
| startupProbe.httpGet | object | {"path":"/","port":"http"} | Startup probe configuration. |
| tolerations | list | [] | Tolerations for the pods. |
| updateStrategy.rollingUpdate.maxUnavailable | string | "100%" | |
| updateStrategy.rollingUpdate.partition | int | 0 | |
| updateStrategy.type | string | "RollingUpdate" | The deployment strategy to use to replace existing pods with new ones. Options: "RollingUpdate" or "OnDelete". |
Deploy lubelogger with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has lubelogger on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartlubelogger is pinned at v1.4.10 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply