Skip to content

Commit

Permalink
add icon
Browse files Browse the repository at this point in the history
  • Loading branch information
devopsmher committed Nov 21, 2022
1 parent 3854f14 commit e1e45d9
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 38 deletions.
29 changes: 9 additions & 20 deletions charts/kubmeta-lib/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,24 +1,13 @@
apiVersion: v2
name: kubmeta-lib
description: A KubMeta library Helm chart for Kubernetes

# A chart can be either an 'application' or a 'library' chart.
#
# Application charts are a collection of templates that can be packaged into versioned archives
# to be deployed.
#
# Library charts provide useful utilities or functions for the chart developer. They're included as
# a dependency of application charts to inject those utilities and functions into the rendering
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
type: application

# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 3.1.9

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "3.1.9"
version: 3.1.10
appVersion: "3.1.10"
home: https://kubmeta.com
icon: https://raw.githubusercontent.com/kubmeta/helm-charts/master/charts/kubmeta-lib/chart-icon.png
sources:
- https://github.com/kubmeta/helm-charts/tree/master/charts/kubmeta-lib
maintainers:
- name: Kubmeta Maintainers
email: devops@kubmeta.com
36 changes: 18 additions & 18 deletions charts/kubmeta-lib/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ helm install my-app kubmeta/kubmeta-lib
```
dependencies:
- name: kubmeta-lib
version: 3.1.9
version: 3.1.10
repository: https://charts.kubmeta.com/
```

Expand Down Expand Up @@ -112,9 +112,9 @@ Here are 2 examples about this:
**Alias is not specified, name, version and appVersion are not overridden by parent chart**
In this case, labels will be like this:\*\*

- `helm.sh/chart: kubmeta-lib-3.1.9 `
- `helm.sh/chart: kubmeta-lib-3.1.10 `
- `app.kubernetes.io/name: kubmeta-lib`
- `app.kubernetes.io/version: 3.1.9 `
- `app.kubernetes.io/version: 3.1.10 `

Chart.yaml

Expand All @@ -123,12 +123,12 @@ apiVersion: v2
name: my-application
description: My application service description
type: application
version: 3.1.9
appVersion: "3.1.9"
version: 3.1.10
appVersion: "3.1.10"
dependencies:
- name: kubmeta-lib
version: 3.1.9
version: 3.1.10
repository: https://kubmeta.github.io/helm-charts
```

Expand All @@ -149,9 +149,9 @@ kubmeta-lib:
Now if you prefer to change your chart's name and version, you can do it by the alias variable(passing a name to it in Chart.yaml) or you can override the `name` in values.yaml file. The result will be the same. About `version` and `appVersion`, they have to be changed in values.yaml.
The same labels, given above, now will be:

- `helm.sh/chart: kubmeta-lib-3.1.9`
- `helm.sh/chart: kubmeta-lib-3.1.10`
- `app.kubernetes.io/name: kubmeta-lib`
- `app.kubernetes.io/version: 3.1.9`
- `app.kubernetes.io/version: 3.1.10`

**This is with the alias name.**

Expand All @@ -162,12 +162,12 @@ apiVersion: v2
name: my-application
description: My application service description
type: application
version: 3.1.9
appVersion: "3.1.9"
version: 3.1.10
appVersion: "3.1.10"
dependencies:
- name: kubmeta-lib
version: 3.1.9
version: 3.1.10
repository: https://kubmeta.github.io/helm-charts
alias: kubmeta-lib
```
Expand All @@ -176,8 +176,8 @@ values.yaml

```
kubmeta-lib:
version: 3.1.9
appVersion: 3.1.9
version: 3.1.10
appVersion: 3.1.10
image:
repository: docker-image
tag: 1.2.3
Expand All @@ -192,12 +192,12 @@ apiVersion: v2
name: my-application
description: My application service description
type: application
version: 3.1.9
appVersion: "3.1.9"
version: 3.1.10
appVersion: "3.1.10"
dependencies:
- name: kubmeta-lib
version: 3.1.9
version: 3.1.10
repository: https://kubmeta.github.io/helm-charts
```

Expand All @@ -206,8 +206,8 @@ values.yaml
```
kubmeta-lib:
name: kubmeta-lib
version: 3.1.9
appVersion: 3.1.9
version: 3.1.10
appVersion: 3.1.10
image:
repository: docker-image
tag: 1.2.3
Expand Down
Binary file added charts/kubmeta-lib/chart-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e1e45d9

Please sign in to comment.