-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Mateusz Urbanek <[email protected]>
- Loading branch information
Showing
10 changed files
with
498 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,2 @@ | ||
brew "go" | ||
brew "helm" | ||
tap "norwoodj/tap" | ||
brew "norwoodj/tap/helm-docs" | ||
brew "kube-linter" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,8 +2,9 @@ apiVersion: v2 | |
name: lubelogger | ||
description: LubeLogger is a web-based vehicle maintenance and fuel mileage tracker | ||
type: application | ||
version: 0.2.3 | ||
version: 0.3.0 | ||
appVersion: "v1.3.6" | ||
maintainers: | ||
- name: Mateusz Urbanek | ||
email: [email protected] | ||
url: http://linkedin.com/in/urbanekmateusz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
# lubelogger | ||
|
||
![Version: 0.2.3](https://img.shields.io/badge/Version-0.2.3-informational?style=flat) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat) ![AppVersion: v1.3.6](https://img.shields.io/badge/AppVersion-v1.3.6-informational?style=flat) | ||
![Version: 0.3.0](https://img.shields.io/badge/Version-0.3.0-informational?style=flat) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat) ![AppVersion: v1.3.6](https://img.shields.io/badge/AppVersion-v1.3.6-informational?style=flat) | ||
|
||
LubeLogger is a web-based vehicle maintenance and fuel mileage tracker | ||
|
||
## Maintainers | ||
|
||
| Name | Email | Url | | ||
| ---- | ------ | --- | | ||
| Mateusz Urbanek | <[email protected]> | | | ||
| Mateusz Urbanek | <[email protected]> | <http://linkedin.com/in/urbanekmateusz> | | ||
|
||
## Values | ||
|
||
|
@@ -22,6 +22,32 @@ LubeLogger is a web-based vehicle maintenance and fuel mileage tracker | |
| 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: `echo -n 'admin' | openssl dgst -sha256 | awk '{print $2}'` `echo -n 'admin' | sha256sum - | awk '{print $1}'` | | ||
| 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: `echo -n 'password' | openssl dgst -sha256 | awk '{print $2}'` `echo -n 'password' | sha256sum - | awk '{print $1}'` | | ||
| config.userConfig.VisibleTabs | list | `[0,1,4,2,3,6,5,8]` | Specifies which tabs are visible in the user interface. | | ||
| 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 image. | | ||
|
@@ -35,6 +61,21 @@ LubeLogger is a web-based vehicle maintenance and fuel mileage tracker | |
| livenessProbe.httpGet | object | `{"path":"/","port":"http"}` | Liveness probe configuration. | | ||
| nameOverride | string | `""` | Override for the name. | | ||
| nodeSelector | object | `{}` | Node selector for the pods. | | ||
| 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). | | ||
| persistence.documents.accessMode | string | `"ReadWriteOnce"` | Access mode for the PVC. | | ||
| persistence.documents.enabled | bool | `true` | Enable/disable PVC creation for documents. | | ||
| persistence.documents.existingClaim | string | `""` | Use an existing PVC if defined, otherwise create one. | | ||
| persistence.documents.size | string | `"10Gi"` | Storage size for the PVC. | | ||
| persistence.documents.storageClass | string | `""` | Specify the StorageClass (if required). | | ||
| persistence.images.accessMode | string | `"ReadWriteOnce"` | Access mode for the PVC. | | ||
| persistence.images.enabled | bool | `true` | Enable/disable PVC creation for images. | | ||
| persistence.images.existingClaim | string | `""` | Use an existing PVC if defined, otherwise create one. | | ||
| persistence.images.size | string | `"10Gi"` | Storage size for the PVC. | | ||
| persistence.images.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 | `{}` | | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
{{- if and .Values.persistence.data.enabled (not .Values.persistence.data.existingClaim) }} | ||
--- | ||
apiVersion: v1 | ||
kind: PersistentVolumeClaim | ||
metadata: | ||
name: {{ include "lubelog.pvcData" . }} | ||
namespace: {{ .Release.Namespace }} | ||
labels: | ||
{{- include "lubelog.labels" . | nindent 4 }} | ||
{{- with .Values.podLabels }} | ||
{{- toYaml . | nindent 4 }} | ||
{{- end }} | ||
annotations: | ||
helm.sh/resource-policy: "keep" | ||
spec: | ||
accessModes: | ||
- {{ .Values.persistence.data.accessMode }} | ||
resources: | ||
requests: | ||
storage: {{ .Values.persistence.data.size }} | ||
{{- if .Values.persistence.data.storageClass }} | ||
storageClassName: {{ .Values.persistence.data.storageClass }} | ||
{{- end }} | ||
{{- end }} | ||
{{- if and .Values.persistence.images.enabled (not .Values.persistence.images.existingClaim) }} | ||
--- | ||
apiVersion: v1 | ||
kind: PersistentVolumeClaim | ||
metadata: | ||
name: {{ include "lubelog.pvcImages" . }} | ||
namespace: {{ .Release.Namespace }} | ||
labels: | ||
{{- include "lubelog.labels" . | nindent 4 }} | ||
{{- with .Values.podLabels }} | ||
{{- toYaml . | nindent 4 }} | ||
{{- end }} | ||
annotations: | ||
helm.sh/resource-policy: "keep" | ||
spec: | ||
accessModes: | ||
- {{ .Values.persistence.images.accessMode }} | ||
resources: | ||
requests: | ||
storage: {{ .Values.persistence.images.size }} | ||
{{- if .Values.persistence.images.storageClass }} | ||
storageClassName: {{ .Values.persistence.images.storageClass }} | ||
{{- end }} | ||
{{- end }} | ||
{{- if and .Values.persistence.documents.enabled (not .Values.persistence.documents.existingClaim) }} | ||
--- | ||
apiVersion: v1 | ||
kind: PersistentVolumeClaim | ||
metadata: | ||
name: {{ include "lubelog.pvcDocuments" . }} | ||
namespace: {{ .Release.Namespace }} | ||
labels: | ||
{{- include "lubelog.labels" . | nindent 4 }} | ||
{{- with .Values.podLabels }} | ||
{{- toYaml . | nindent 4 }} | ||
{{- end }} | ||
annotations: | ||
helm.sh/resource-policy: "keep" | ||
spec: | ||
accessModes: | ||
- {{ .Values.persistence.documents.accessMode }} | ||
resources: | ||
requests: | ||
storage: {{ .Values.persistence.documents.size }} | ||
{{- if .Values.persistence.documents.storageClass }} | ||
storageClassName: {{ .Values.persistence.documents.storageClass }} | ||
{{- end }} | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.