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

NameEmailUrl
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

KeyTypeDefaultDescription
affinityobject{}Affinity settings for the pods.
autoscaling.enabledboolfalseSpecifies whether autoscaling is enabled.
autoscaling.maxReplicasint3Maximum number of replicas for autoscaling.
autoscaling.minReplicasint1Minimum number of replicas for autoscaling.
autoscaling.targetCPUUtilizationPercentageint80Target CPU utilization percentage for autoscaling.
autoscaling.targetMemoryUtilizationPercentageint80Target memory utilization percentage for autoscaling.
config.LANGstring"en_US.UTF-8"Locale and Language Settings, this will affect how numbers, currencies, and dates are formatted.
config.LC_ALLstring"en_US.UTF-8"Same as above. Note that some languages don't have UTF-8 encodings.
config.LOGLEVELstring"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.translationslist["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.AllowedHostsstring"*"Specifies allowed hosts for the application (use "*" to allow all hosts).
config.userConfig.DefaultTabint8Sets the default tab to be shown when the application starts.
config.userConfig.EnableAuthbooltrueEnables or disables authentication for the application.
config.userConfig.EnableAutoOdometerInsertboolfalseAutomatically inserts odometer readings based on previous data.
config.userConfig.EnableAutoReminderRefreshboolfalseAutomatically refreshes reminders without manual intervention.
config.userConfig.EnableCsvImportsbooltrueEnables the ability to import data from CSV files.
config.userConfig.EnableExtraFieldColumnsboolfalseEnables additional columns for extra field entries.
config.userConfig.EnableShopSuppliesboolfalseEnables tracking of shop supplies in transactions.
config.userConfig.HideSoldVehiclesboolfalseHides vehicles marked as sold from the display.
config.userConfig.HideZeroboolfalseDetermines 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.Defaultstring"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.PreferredGasMileageUnitstring""Specifies the preferred unit for gas mileage.
config.userConfig.PreferredGasUnitstring""Specifies the preferred unit for gas volume.
config.userConfig.UseDarkModeboolfalseEnables or disables dark mode in the user interface.
config.userConfig.UseDescendingboolfalseDetermines if lists are ordered in descending order by default.
config.userConfig.UseMPGbooltrueConfigures whether to use miles per gallon (MPG) as the fuel economy unit.
config.userConfig.UseMarkDownOnSavedNotesboolfalseAllows saved notes to support markdown formatting.
config.userConfig.UseThreeDecimalGasCostbooltrueEnables displaying gas costs with three decimal places for accuracy.
config.userConfig.UseUKMPGboolfalseUses UK miles per gallon (UK MPG) as the fuel economy unit.
config.userConfig.UserColumnPreferenceslist[]Stores user preferences for column visibility.
config.userConfig.UserLanguagestring"en_US"Defines the user's language preference (e.g., "en_US").
config.userConfig.UserNameHashstring"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.UserPasswordHashstring"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.VisibleTabslist[0,1,4,2,3,6,5,8]Specifies which tabs are visible in the user interface.
curl.image.pullPolicystring"IfNotPresent"Image pull policy.
curl.image.repositorystring"docker.io/curlimages/curl"Registry and repository for the image.
curl.image.tagstring"8.23.0"Tag for the image.
fullnameOverridestring""Override for the full name.
image.pullPolicystring"IfNotPresent"Image pull policy.
image.repositorystring"ghcr.io/hargata/lubelogger"Registry and repository for the lubelogger image.
image.tagstring"v1.7.4"Tag for the image.
imagePullSecretslist[]Secrets for pulling images.
ingress.annotationsobject{}Annotations to add to the ingress.
ingress.classNamestring""Ingress class name.
ingress.enabledboolfalseSpecifies whether ingress should be enabled.
ingress.hostslist[{"host":"lubelog.example.local","paths":[{"path":"/","pathType":"ImplementationSpecific"}]}]List of ingress hosts.
ingress.tlslist[]List of TLS configurations for the ingress.
livenessProbe.httpGetobject{"path":"/","port":"http"}Liveness probe configuration.
nameOverridestring""Override for the name.
nodeSelectorobject{}Node selector for the pods.
oidc.authURLstring""Authorization URL to the Provider's Login Page.
oidc.clientIdstring""Client Id to Authenticate with the Provider.
oidc.clientSecretstring""Client Secret to Authenticate with the Provider.
oidc.createboolfalseDefines if the secret with OIDC connection details should be created.
oidc.disableRegularLoginboolfalseAuto re-direct user to OIDC login.
oidc.enabledboolfalseDefines if OpenID Connect configuration should be included.
oidc.logOutURLstring""Log Out URL for OIDC Provider, required if DisableRegularLogin=true.
oidc.namestring""Specifies name of a secret used to configure the OpenID Connect. If not filled, uses full name.
oidc.providerNamestring""Name of the OpenID Connect Provider.
oidc.redirectURLstring""https://<yourlubeloggerdomain.com>/Login/RemoteAuth (must be HTTPS).
oidc.scopestring"openid email"The scope for retrieving the user's email claim (usually it's just 'email').
oidc.tokenURLstring""URL to retrieve user JWT from the Provider.
oidc.usePKCEboolfalseWhether LubeLogger should use PKCE.
oidc.userInfoURLstring""UserInfo URL as an alternative option to retrieve user claims (required for certain OpenID Providers)
oidc.validateStateboolfalseWhether LubeLogger should validate state.
persistence.data.accessModestring"ReadWriteOnce"Access mode for the PVC.
persistence.data.enabledboolfalseEnable/disable PVC creation for data.
persistence.data.existingClaimstring""Use an existing PVC if defined, otherwise create one.
persistence.data.sizestring"10Gi"Storage size for the PVC.
persistence.data.storageClassstring""Specify the StorageClass (if required).
podAnnotationsobject{}Annotations to be added to the pods.
podLabelsobject{}Labels to be added to the pods.
podSecurityContextobject{}
postgres.connectboolfalseDefines if the LubeLogger should connect to the Postgres backend. It has no effect when postgres.create=true.
postgres.createboolfalseDefines if the secret with Postgres connection details should be created.
postgres.databasestring"postgres"Database name.
postgres.hoststring"postgres"Host of the Postgres database.
postgres.keyRefstring"POSTGRES_CONNECTION"Defines the key under which postgres connection string can be found. It uses Npgsql connection format.
postgres.namestring""Specifies name of a secret used to configure the LubeLogger's Postgres backend. If not filled, uses full name.
postgres.passwordstring"postgres"Password for the user used to connect to the Postgres database.
postgres.portint5432Port of the Postgres database.
postgres.userstring"postgres"User used to connect to the Postgres database.
readinessProbe.httpGetobject{"path":"/","port":"http"}Readiness probe configuration.
replicaCountint1Number of replicas for the deployment.
resourcesobject{}
secret.createbooltrueSpecifies whether a secret should be created.
secret.emailFromstring""Email from address for the secret.
secret.emailServerstring""Email server for the secret.
secret.namestring""Specifies name of a secret used to configure the LubeLogger's mail connection. If not filled, uses full name.
secret.passwordstring""Password for the email server.
secret.portint587Port for the email server.
secret.usernamestring""Username for the email server.
securityContextobject{}
service.portint80Service port.
service.typestring"ClusterIP"Service type.
serviceAccount.annotationsobject{}Annotations to add to the service account.
serviceAccount.automountbooltrueAutomatically mount a ServiceAccount's API credentials.
serviceAccount.createbooltrueSpecifies whether a service account should be created.
serviceAccount.namestring""The name of the service account to use. If not set and create is true, a name is generated using the fullname template.
startupProbe.httpGetobject{"path":"/","port":"http"}Startup probe configuration.
tolerationslist[]Tolerations for the pods.
updateStrategy.rollingUpdate.maxUnavailablestring"100%"
updateStrategy.rollingUpdate.partitionint0
updateStrategy.typestring"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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartlubelogger is pinned at v1.4.10 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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