Skip to content

Commit

Permalink
Sets Deployment .spec.strategy.type to Recreate, cause of MultiAttach…
Browse files Browse the repository at this point in the history
…Error
  • Loading branch information
0hlov3 committed Apr 18, 2023
1 parent ecaa969 commit 700dba9
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 3 deletions.
36 changes: 34 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,34 @@
# charts
This is where the HELM charts we need to deploy our applications are created.
# Helm Charts
Find your favorite application and launch it. :)

## 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:

```shell
helm repo add fsociety https://charts.fsociety.social
```

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
fsociety` to see the charts.

To install the <chart-name> chart:

```shell
helm install my-<chart-name> <alias>/<chart-name>
```

To uninstall the chart:
```shell
helm delete my-<chart-name>
```

## Need Help?
- [#charts:fsociety.social @ Matrix](https://matrix.to/#/#charts:fsociety.social)

## Want to Contribute?
- [#chart-development:fsociety.social @ Matrix](https://matrix.to/#/#chart-development:fsociety.social)
2 changes: 1 addition & 1 deletion charts/elk-frontend/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ 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: 0.1.1
version: 0.1.2

# 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
Expand Down
2 changes: 2 additions & 0 deletions charts/elk-frontend/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ metadata:
{{- include "elk-frontend.labels" . | nindent 4 }}
spec:
replicas: {{ .Values.replicaCount }}
strategy:
type: {{ .Values.strategy.type }}
selector:
matchLabels:
{{- include "elk-frontend.selectorLabels" . | nindent 6 }}
Expand Down
2 changes: 2 additions & 0 deletions charts/elk-frontend/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
# Declare variables to be passed into your templates.

replicaCount: 1
strategy:
type: Recreate

image:
repository: docker.io
Expand Down

0 comments on commit 700dba9

Please sign in to comment.