Skip to content

Commit

Permalink
Merge pull request #468 from appuio/stardog/pdb
Browse files Browse the repository at this point in the history
Safer PDBs (only for specific instance and replicaCount >1)
  • Loading branch information
psy-q authored Mar 23, 2023
2 parents 24da2ac + dcb4919 commit f97c4e9
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ helm repo add appuio https://charts.appuio.ch
| [![chart downloads](https://img.shields.io/github/downloads/appuio/charts/secret-1.1.0/total)](https://github.com/appuio/charts/releases/tag/secret-1.1.0) | [secret](appuio/secret/README.md) |
| [![chart downloads](https://img.shields.io/github/downloads/appuio/charts/signalilo-0.12.0/total)](https://github.com/appuio/charts/releases/tag/signalilo-0.12.0) | [signalilo](appuio/signalilo/README.md) |
| [![chart downloads](https://img.shields.io/github/downloads/appuio/charts/snappass-1.0.0/total)](https://github.com/appuio/charts/releases/tag/snappass-1.0.0) | [snappass](appuio/snappass/README.md) |
| [![chart downloads](https://img.shields.io/github/downloads/appuio/charts/stardog-0.17.0/total)](https://github.com/appuio/charts/releases/tag/stardog-0.17.0) | [stardog](appuio/stardog/README.md) |
| [![chart downloads](https://img.shields.io/github/downloads/appuio/charts/stardog-0.17.1/total)](https://github.com/appuio/charts/releases/tag/stardog-0.17.1) | [stardog](appuio/stardog/README.md) |
| [![chart downloads](https://img.shields.io/github/downloads/appuio/charts/stardog-userrole-operator-0.1.1/total)](https://github.com/appuio/charts/releases/tag/stardog-userrole-operator-0.1.1) | [stardog-userrole-operator](appuio/stardog-userrole-operator/README.md) |
| [![chart downloads](https://img.shields.io/github/downloads/appuio/charts/trifid-1.2.3/total)](https://github.com/appuio/charts/releases/tag/trifid-1.2.3) | [trifid](appuio/trifid/README.md) |

Expand Down
2 changes: 1 addition & 1 deletion appuio/stardog/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: stardog
version: 0.17.0
version: 0.17.1
appVersion: 8.2.2
description: Stardog is the world’s leading knowledge graph platform for the enterprise. Stardog makes it fast and easy to turn enterprise data into knowledge.
home: "https://www.stardog.com/"
Expand Down
2 changes: 1 addition & 1 deletion appuio/stardog/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# stardog

![Version: 0.17.0](https://img.shields.io/badge/Version-0.17.0-informational?style=flat-square) ![AppVersion: 8.2.2](https://img.shields.io/badge/AppVersion-8.2.2-informational?style=flat-square)
![Version: 0.17.1](https://img.shields.io/badge/Version-0.17.1-informational?style=flat-square) ![AppVersion: 8.2.2](https://img.shields.io/badge/AppVersion-8.2.2-informational?style=flat-square)

Stardog is the world’s leading knowledge graph platform for the enterprise. Stardog makes it fast and easy to turn enterprise data into knowledge.

Expand Down
3 changes: 3 additions & 0 deletions appuio/stardog/templates/pdb.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if (gt (.Values.replicaCount | int) 1) }}
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
Expand All @@ -7,3 +8,5 @@ spec:
selector:
matchLabels:
app.kubernetes.io/name: {{ include "stardog.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end }}

0 comments on commit f97c4e9

Please sign in to comment.