Compare commits
2 Commits
42a80492ad
...
6342d7be31
Author | SHA1 | Date | |
---|---|---|---|
6342d7be31
|
|||
1975611101
|
@ -8,7 +8,7 @@ trigger:
|
||||
- push
|
||||
|
||||
steps:
|
||||
- name: release
|
||||
- name: release
|
||||
image: cr.grachevko.ru/drone/helm:RELEASE.2023-03-01T13-46-55Z
|
||||
settings:
|
||||
username:
|
||||
|
2
.github/workflows/main.yaml
vendored
2
.github/workflows/main.yaml
vendored
@ -1,6 +1,6 @@
|
||||
name: Build
|
||||
|
||||
on: [push]
|
||||
on: [ push ]
|
||||
|
||||
jobs:
|
||||
|
||||
|
12
README.md
12
README.md
@ -19,7 +19,8 @@ dependencies:
|
||||
repository: https://harbor.grachevko.ru/chartrepo/helm
|
||||
```
|
||||
|
||||
Once you have defined dependencies, you should run the following command to download this chart into your `charts/` directory:
|
||||
Once you have defined dependencies, you should run the following command to download this chart into your `charts/`
|
||||
directory:
|
||||
|
||||
```shell
|
||||
$ helm dep build
|
||||
@ -61,13 +62,15 @@ helm.sh/chart: foo-1.2.3-beta.55_1234
|
||||
|
||||
### `common.fullname`
|
||||
|
||||
The `common.fullname` template generates a name suitable for the `name:` field in Kubernetes metadata. It is used like this:
|
||||
The `common.fullname` template generates a name suitable for the `name:` field in Kubernetes metadata. It is used like
|
||||
this:
|
||||
|
||||
```yaml
|
||||
name: { { include "common.fullname" . } }
|
||||
```
|
||||
|
||||
This prints the value of `{{ .Release.Name }}-{{ .Chart.Name }}` by default, but can be overridden with `.Values. fullnameOverride`:
|
||||
This prints the value of `{{ .Release.Name }}-{{ .Chart.Name }}` by default, but can be overridden
|
||||
with `.Values. fullnameOverride`:
|
||||
|
||||
```yaml
|
||||
fullnameOverride: some-name
|
||||
@ -142,7 +145,8 @@ metadata:
|
||||
name: release-name-mychart
|
||||
```
|
||||
|
||||
Most of the common templates that define a resource type (e.g. `common.configMap` or `common.cronJob`) use this to generate the metadata, which means they inherit the same `labels` and `name` fields.
|
||||
Most of the common templates that define a resource type (e.g. `common.configMap` or `common.cronJob`) use this to
|
||||
generate the metadata, which means they inherit the same `labels` and `name` fields.
|
||||
|
||||
### `common.name`
|
||||
|
||||
|
@ -10,6 +10,6 @@ spec:
|
||||
containers:
|
||||
- name: wget
|
||||
image: busybox
|
||||
command: ['wget']
|
||||
args: ['{{ include "common.fullname" . }}:{{ .Values.service.port }}']
|
||||
command: [ 'wget' ]
|
||||
args: [ '{{ include "common.fullname" . }}:{{ .Values.service.port }}' ]
|
||||
restartPolicy: Never
|
||||
|
@ -50,6 +50,11 @@ service:
|
||||
|
||||
ingress:
|
||||
enabled: false
|
||||
## @param ingress.ingressClassName IngressClass that will be used to implement the Ingress (Kubernetes 1.18+)
|
||||
## This is supported in Kubernetes 1.18+ and required if you have more than one IngressClass marked as the default for your cluster.
|
||||
## ref: https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/
|
||||
##
|
||||
ingressClassName: ""
|
||||
annotations: {}
|
||||
# kubernetes.io/ingress.class: nginx
|
||||
# kubernetes.io/tls-acme: "true"
|
||||
|
Reference in New Issue
Block a user