Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create README.md #2

Merged
merged 7 commits into from
Oct 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions .github/workflows/lint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,3 @@ jobs:
- name: Run chart-testing (lint)
if: steps.list-changed.outputs.changed == 'true'
run: ct lint --chart-dirs ./ --target-branch ${{ github.event.repository.default_branch }}

- name: Create kind cluster
if: steps.list-changed.outputs.changed == 'true'
uses: helm/[email protected]

- name: Run chart-testing (install)
if: steps.list-changed.outputs.changed == 'true'
run: ct install --chart-dirs ./ --target-branch ${{ github.event.repository.default_branch }}
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
## Usage

[Helm](https://helm.sh) must be installed to use the charts. Please refer to
Helm's [documentation](https://helm.sh/docs) to get started.

Once Helm has been set up correctly, add the repo as follows:

helm repo add charts https://himaster.github.io/charts

If you had already added this repo earlier, run `helm repo update` to retrieve
the latest versions of the packages. You can then run `helm search repo
charts` to see the charts.

To install the app chart:

helm install my-app charts/app

To uninstall the chart:

helm delete my-app
4 changes: 2 additions & 2 deletions app/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: v1
name: app
description: Universal Helm chart for application. Uses [semantic versioning](https://semver.org/) for safe updates and compatibility. Documentation generated with [helm-docs](https://github.com/norwoodj/helm-docs)

home: https://himaster.github.io/charts/
maintainers:
- name: himaster
email: [email protected]
Expand All @@ -13,4 +13,4 @@ maintainers:
#
# NOTE: this value is set at build time. DO NOT CHANGE.
#
version: 1.0.8
version: 1.1.0
3 changes: 2 additions & 1 deletion app/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,8 @@ spec:
{{- end }}
{{- end }}
{{- if .Values.appCommand.enabled }}
command: {{ .Values.appCommand.command }}
command:
{{ toYaml .Values.appCommand.command | indent 12 }}
args: {{ .Values.appCommand.args }}
{{- end }}
env:
Expand Down
35 changes: 17 additions & 18 deletions app/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ service:
ingress:
# -- Enable [Ingress object](https://kubernetes.io/docs/concepts/services-networking/ingress/) creation
enabled: true

# -- Nginx is configured to automatically discover all ingress with the kubernetes.io/ingress.class: "nginx" annotation or where ingressClassName: nginx is present
ingressClassName: nginx

Expand Down Expand Up @@ -294,7 +294,7 @@ nginx:
- /bin/bash
- -c
- /bin/sleep 10; /usr/sbin/nginx -s quit

# -- Defines [Lifecycle poststart hook](https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/) for nginx container
# poststart:
# command:
Expand Down Expand Up @@ -334,14 +334,14 @@ nginx:
limits:
# -- configures limits of RAM for "nginx" container
memory: "1Gi"

readinessProbe:
# -- Enables httpGet [readiness probe](https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#define-readiness-probes) for nginx container
enabled: true

# -- Defines host of httpGet readiness probe
host: ""

# -- Defines path of httpGet readiness probe
path: /

Expand Down Expand Up @@ -371,7 +371,7 @@ nginx:
# -- Defines path of httpGet liveness probe
httpPath: "/status"

# -- Defines port of httpGet liveness probe
# -- Defines port of httpGet liveness probe
httpPort: 80

# -- Defines scheme of httpGet liveness probe
Expand All @@ -380,24 +380,24 @@ nginx:
# -- Defines httpHeaders of httpGet liveness probe
httpHeaders: []

# -- Defines initialDelaySeconds of liveness probe
# -- Defines initialDelaySeconds of liveness probe
initialDelaySeconds: 10

# -- Defines periodSeconds of liveness probe
# -- Defines periodSeconds of liveness probe
periodSeconds: 3

# -- Defines timeoutSeconds of liveness probe
# -- Defines timeoutSeconds of liveness probe
timeoutSeconds: 5

# -- Defines successThreshold of liveness probe
successThreshold: ""

# -- Defines failureThreshold of liveness probe
# -- Defines failureThreshold of liveness probe
failureThreshold: 3

# -- Defines command of exec liveness probe
command:
command:

# -- Nginx config file /etc/nginx/nginx.conf
customConfig:
# -- Sets the maximum number of simultaneous connections that can be opened by a worker process. -- default 4096
Expand Down Expand Up @@ -477,7 +477,6 @@ secret_env:
# - secretName1



# -- Adding entries to Pod /etc/hosts with [HostAliases](https://kubernetes.io/docs/tasks/network/customize-hosts-file-for-pods/)
hostAliases: {}
# "192.168.150.101": ["mongo-repset1", "mongo-rs1"]
Expand All @@ -493,10 +492,10 @@ additionalSecretVolumes: []
# -- There are several options to define volumes via the external secret.

additionalExternalConfigVolumes: []
#- name: test-config
# mountPath: /var/secret
#- name: dev-config
# mountPath: /var/secret
# - name: test-config
# mountPath: /var/secret
# - name: dev-config
# mountPath: /var/secret

additionalExternalSecretVolumes: []
# First option will be useful if you want to mount all keys from the secret as volume.
Expand Down Expand Up @@ -596,9 +595,9 @@ serviceMonitor:
# -- ServiceMonitor endpoint path
endpoints:
# -- [endpoints](https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#endpoint).interval param of ServiceMonitor object
# -- ServiceMonitor endpoint metricsPath
# -- ServiceMonitor endpoint metricsPath
# -- ServiceMonitor endpoint port
# -- ServiceMonitor endpoint honorLabels
# -- ServiceMonitor endpoint honorLabels
# -- [endpoints](https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#endpoint).scrapeTimeout param of ServiceMonitor object
# -- endpoints.scheme param of ServiceMonitor object
# -- [endpoints](https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#endpoint).metricRelabelings param of ServiceMonitor object. [Relabelings vs metricRelabelings](https://github.com/prometheus-operator/prometheus-operator/issues/3246)
Expand Down
Loading