From a58f616fdc70b6f862d38a9cb48f04ee5615384d Mon Sep 17 00:00:00 2001 From: Sam Calder-Mason Date: Thu, 23 Nov 2023 13:40:14 +1000 Subject: [PATCH] fix: Add missing PDB templates (#247) * fix: Add missing PDB templates * chore: update chart-testing-action to v2.6.1 * chore: Update PostgreSQL version to 12.x.x * Revert "chore: Update PostgreSQL version to 12.x.x" This reverts commit b4a6491ed0ca75d7352a2922f05624cac6eae8ce. --------- Signed-off-by: Sam Calder-Mason --- charts/testnet-faucet/Chart.yaml | 2 +- charts/testnet-faucet/README.md | 2 +- charts/testnet-faucet/templates/pdb.yaml | 18 ++++++++++++++++++ charts/testnet-homepage/Chart.yaml | 2 +- charts/testnet-homepage/README.md | 2 +- charts/testnet-homepage/templates/pdb.yaml | 18 ++++++++++++++++++ charts/web3signer/Chart.yaml | 2 +- charts/web3signer/README.md | 2 +- charts/web3signer/templates/pdb.yaml | 18 ++++++++++++++++++ charts/xatu-cannon/Chart.yaml | 2 +- charts/xatu-cannon/README.md | 2 +- charts/xatu-cannon/templates/pdb.yaml | 18 ++++++++++++++++++ charts/xatu-discovery/Chart.yaml | 2 +- charts/xatu-discovery/README.md | 2 +- charts/xatu-discovery/templates/pdb.yaml | 18 ++++++++++++++++++ charts/xatu-mimicry/Chart.yaml | 2 +- charts/xatu-mimicry/README.md | 2 +- charts/xatu-mimicry/templates/pdb.yaml | 18 ++++++++++++++++++ charts/xatu-sentry/Chart.yaml | 2 +- charts/xatu-sentry/README.md | 2 +- charts/xatu-sentry/templates/pdb.yaml | 18 ++++++++++++++++++ charts/xatu-server/Chart.yaml | 2 +- charts/xatu-server/README.md | 2 +- charts/xatu-server/templates/pdb.yaml | 18 ++++++++++++++++++ 24 files changed, 160 insertions(+), 16 deletions(-) create mode 100644 charts/testnet-faucet/templates/pdb.yaml create mode 100644 charts/testnet-homepage/templates/pdb.yaml create mode 100644 charts/web3signer/templates/pdb.yaml create mode 100644 charts/xatu-cannon/templates/pdb.yaml create mode 100644 charts/xatu-discovery/templates/pdb.yaml create mode 100644 charts/xatu-mimicry/templates/pdb.yaml create mode 100644 charts/xatu-sentry/templates/pdb.yaml create mode 100644 charts/xatu-server/templates/pdb.yaml diff --git a/charts/testnet-faucet/Chart.yaml b/charts/testnet-faucet/Chart.yaml index 0fb0f225..a98279d8 100644 --- a/charts/testnet-faucet/Chart.yaml +++ b/charts/testnet-faucet/Chart.yaml @@ -3,7 +3,7 @@ name: testnet-faucet description: Ethereum faucet used for testnets home: https://github.com/parithosh/testnet-faucet type: application -version: 0.1.2 +version: 0.1.3 maintainers: - name: skylenet email: rafael@skyle.net diff --git a/charts/testnet-faucet/README.md b/charts/testnet-faucet/README.md index 71a3b58c..326ad5aa 100644 --- a/charts/testnet-faucet/README.md +++ b/charts/testnet-faucet/README.md @@ -1,7 +1,7 @@ # testnet-faucet -![Version: 0.1.2](https://img.shields.io/badge/Version-0.1.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) +![Version: 0.1.3](https://img.shields.io/badge/Version-0.1.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) Ethereum faucet used for testnets diff --git a/charts/testnet-faucet/templates/pdb.yaml b/charts/testnet-faucet/templates/pdb.yaml new file mode 100644 index 00000000..6ddce33c --- /dev/null +++ b/charts/testnet-faucet/templates/pdb.yaml @@ -0,0 +1,18 @@ +{{- if or .Values.podDisruptionBudget.minAvailable .Values.podDisruptionBudget.maxUnavailable -}} +apiVersion: policy/v1 +kind: PodDisruptionBudget +metadata: + name: {{ include "testnet-faucet.fullname" . }} + labels: + {{- include "testnet-faucet.labels" . | nindent 4 }} +spec: + selector: + matchLabels: + {{- include "testnet-faucet.selectorLabels" . | nindent 6 }} + {{- if .Values.podDisruptionBudget.minAvailable }} + minAvailable: {{ .Values.podDisruptionBudget.minAvailable }} + {{- end }} + {{- if .Values.podDisruptionBudget.maxUnavailable }} + maxUnavailable: {{ .Values.podDisruptionBudget.maxUnavailable }} + {{- end }} +{{- end -}} \ No newline at end of file diff --git a/charts/testnet-homepage/Chart.yaml b/charts/testnet-homepage/Chart.yaml index e49ae698..030169a7 100644 --- a/charts/testnet-homepage/Chart.yaml +++ b/charts/testnet-homepage/Chart.yaml @@ -3,7 +3,7 @@ name: testnet-homepage description: Ethereum testnet homepage that is used to display testnet relevant information home: https://github.com/skylenet/ethereum-testnet-homepage type: application -version: 0.2.2 +version: 0.2.3 maintainers: - name: skylenet email: rafael@skyle.net diff --git a/charts/testnet-homepage/README.md b/charts/testnet-homepage/README.md index 64eb01d3..0f984c03 100644 --- a/charts/testnet-homepage/README.md +++ b/charts/testnet-homepage/README.md @@ -1,7 +1,7 @@ # testnet-homepage -![Version: 0.2.2](https://img.shields.io/badge/Version-0.2.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) +![Version: 0.2.3](https://img.shields.io/badge/Version-0.2.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) Ethereum testnet homepage that is used to display testnet relevant information diff --git a/charts/testnet-homepage/templates/pdb.yaml b/charts/testnet-homepage/templates/pdb.yaml new file mode 100644 index 00000000..d57ff9ea --- /dev/null +++ b/charts/testnet-homepage/templates/pdb.yaml @@ -0,0 +1,18 @@ +{{- if or .Values.podDisruptionBudget.minAvailable .Values.podDisruptionBudget.maxUnavailable -}} +apiVersion: policy/v1 +kind: PodDisruptionBudget +metadata: + name: {{ include "testnet-homepage.fullname" . }} + labels: + {{- include "testnet-homepage.labels" . | nindent 4 }} +spec: + selector: + matchLabels: + {{- include "testnet-homepage.selectorLabels" . | nindent 6 }} + {{- if .Values.podDisruptionBudget.minAvailable }} + minAvailable: {{ .Values.podDisruptionBudget.minAvailable }} + {{- end }} + {{- if .Values.podDisruptionBudget.maxUnavailable }} + maxUnavailable: {{ .Values.podDisruptionBudget.maxUnavailable }} + {{- end }} +{{- end -}} \ No newline at end of file diff --git a/charts/web3signer/Chart.yaml b/charts/web3signer/Chart.yaml index de68a6b7..43d881e2 100644 --- a/charts/web3signer/Chart.yaml +++ b/charts/web3signer/Chart.yaml @@ -3,7 +3,7 @@ name: web3signer description: Web3Signer is capable of signing on multiple platforms using private keys stored in an external vault, or encrypted on a disk. home: https://github.com/Consensys/web3signer/ type: application -version: 1.0.3 +version: 1.0.4 maintainers: - name: barnabasbusa email: busa.barnabas@gmail.com diff --git a/charts/web3signer/README.md b/charts/web3signer/README.md index fea41cb4..7cacf766 100644 --- a/charts/web3signer/README.md +++ b/charts/web3signer/README.md @@ -1,7 +1,7 @@ # web3signer -![Version: 1.0.3](https://img.shields.io/badge/Version-1.0.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) +![Version: 1.0.4](https://img.shields.io/badge/Version-1.0.4-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) Web3Signer is capable of signing on multiple platforms using private keys stored in an external vault, or encrypted on a disk. diff --git a/charts/web3signer/templates/pdb.yaml b/charts/web3signer/templates/pdb.yaml new file mode 100644 index 00000000..4bae6633 --- /dev/null +++ b/charts/web3signer/templates/pdb.yaml @@ -0,0 +1,18 @@ +{{- if or .Values.podDisruptionBudget.minAvailable .Values.podDisruptionBudget.maxUnavailable -}} +apiVersion: policy/v1 +kind: PodDisruptionBudget +metadata: + name: {{ include "web3signer.fullname" . }} + labels: + {{- include "web3signer.labels" . | nindent 4 }} +spec: + selector: + matchLabels: + {{- include "web3signer.selectorLabels" . | nindent 6 }} + {{- if .Values.podDisruptionBudget.minAvailable }} + minAvailable: {{ .Values.podDisruptionBudget.minAvailable }} + {{- end }} + {{- if .Values.podDisruptionBudget.maxUnavailable }} + maxUnavailable: {{ .Values.podDisruptionBudget.maxUnavailable }} + {{- end }} +{{- end -}} \ No newline at end of file diff --git a/charts/xatu-cannon/Chart.yaml b/charts/xatu-cannon/Chart.yaml index 93daa16c..40364195 100644 --- a/charts/xatu-cannon/Chart.yaml +++ b/charts/xatu-cannon/Chart.yaml @@ -3,7 +3,7 @@ name: xatu-cannon description: Ethereum p2p monitoring tool that runs along side a Ethereum consensus client and collects data via the consensus client's Beacon API. home: https://github.com/ethpandaops/xatu type: application -version: 0.2.0 +version: 0.2.1 maintainers: - name: samcm email: sam.calder-mason@ethereum.org diff --git a/charts/xatu-cannon/README.md b/charts/xatu-cannon/README.md index 216d72be..32f2d4be 100644 --- a/charts/xatu-cannon/README.md +++ b/charts/xatu-cannon/README.md @@ -1,7 +1,7 @@ # xatu-cannon -![Version: 0.2.0](https://img.shields.io/badge/Version-0.2.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) +![Version: 0.2.1](https://img.shields.io/badge/Version-0.2.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) Ethereum p2p monitoring tool that runs along side a Ethereum consensus client and collects data via the consensus client's Beacon API. diff --git a/charts/xatu-cannon/templates/pdb.yaml b/charts/xatu-cannon/templates/pdb.yaml new file mode 100644 index 00000000..8d896b4e --- /dev/null +++ b/charts/xatu-cannon/templates/pdb.yaml @@ -0,0 +1,18 @@ +{{- if or .Values.podDisruptionBudget.minAvailable .Values.podDisruptionBudget.maxUnavailable -}} +apiVersion: policy/v1 +kind: PodDisruptionBudget +metadata: + name: {{ include "xatu-cannon.fullname" . }} + labels: + {{- include "xatu-cannon.labels" . | nindent 4 }} +spec: + selector: + matchLabels: + {{- include "xatu-cannon.selectorLabels" . | nindent 6 }} + {{- if .Values.podDisruptionBudget.minAvailable }} + minAvailable: {{ .Values.podDisruptionBudget.minAvailable }} + {{- end }} + {{- if .Values.podDisruptionBudget.maxUnavailable }} + maxUnavailable: {{ .Values.podDisruptionBudget.maxUnavailable }} + {{- end }} +{{- end -}} \ No newline at end of file diff --git a/charts/xatu-discovery/Chart.yaml b/charts/xatu-discovery/Chart.yaml index 654545dc..86c40d89 100644 --- a/charts/xatu-discovery/Chart.yaml +++ b/charts/xatu-discovery/Chart.yaml @@ -3,7 +3,7 @@ name: xatu-discovery description: Ethereum p2p monitoring tool that discovers node records. home: https://github.com/ethpandaops/xatu type: application -version: 0.0.5 +version: 0.0.6 maintainers: - name: samcm email: sam.calder-mason@ethereum.org diff --git a/charts/xatu-discovery/README.md b/charts/xatu-discovery/README.md index 35e794eb..46d0dec6 100644 --- a/charts/xatu-discovery/README.md +++ b/charts/xatu-discovery/README.md @@ -1,7 +1,7 @@ # xatu-discovery -![Version: 0.0.5](https://img.shields.io/badge/Version-0.0.5-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) +![Version: 0.0.6](https://img.shields.io/badge/Version-0.0.6-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) Ethereum p2p monitoring tool that discovers node records. diff --git a/charts/xatu-discovery/templates/pdb.yaml b/charts/xatu-discovery/templates/pdb.yaml new file mode 100644 index 00000000..e2e04244 --- /dev/null +++ b/charts/xatu-discovery/templates/pdb.yaml @@ -0,0 +1,18 @@ +{{- if or .Values.podDisruptionBudget.minAvailable .Values.podDisruptionBudget.maxUnavailable -}} +apiVersion: policy/v1 +kind: PodDisruptionBudget +metadata: + name: {{ include "xatu-discovery.fullname" . }} + labels: + {{- include "xatu-discovery.labels" . | nindent 4 }} +spec: + selector: + matchLabels: + {{- include "xatu-discovery.selectorLabels" . | nindent 6 }} + {{- if .Values.podDisruptionBudget.minAvailable }} + minAvailable: {{ .Values.podDisruptionBudget.minAvailable }} + {{- end }} + {{- if .Values.podDisruptionBudget.maxUnavailable }} + maxUnavailable: {{ .Values.podDisruptionBudget.maxUnavailable }} + {{- end }} +{{- end -}} \ No newline at end of file diff --git a/charts/xatu-mimicry/Chart.yaml b/charts/xatu-mimicry/Chart.yaml index c9417b12..0fd85231 100644 --- a/charts/xatu-mimicry/Chart.yaml +++ b/charts/xatu-mimicry/Chart.yaml @@ -3,7 +3,7 @@ name: xatu-mimicry description: Ethereum p2p monitoring tool that collects data from the execution layer. home: https://github.com/ethpandaops/xatu type: application -version: 0.0.6 +version: 0.0.7 maintainers: - name: samcm email: sam.calder-mason@ethereum.org diff --git a/charts/xatu-mimicry/README.md b/charts/xatu-mimicry/README.md index 57623945..62c07f0b 100644 --- a/charts/xatu-mimicry/README.md +++ b/charts/xatu-mimicry/README.md @@ -1,7 +1,7 @@ # xatu-mimicry -![Version: 0.0.6](https://img.shields.io/badge/Version-0.0.6-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) +![Version: 0.0.7](https://img.shields.io/badge/Version-0.0.7-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) Ethereum p2p monitoring tool that collects data from the execution layer. diff --git a/charts/xatu-mimicry/templates/pdb.yaml b/charts/xatu-mimicry/templates/pdb.yaml new file mode 100644 index 00000000..a407721e --- /dev/null +++ b/charts/xatu-mimicry/templates/pdb.yaml @@ -0,0 +1,18 @@ +{{- if or .Values.podDisruptionBudget.minAvailable .Values.podDisruptionBudget.maxUnavailable -}} +apiVersion: policy/v1 +kind: PodDisruptionBudget +metadata: + name: {{ include "xatu-mimicry.fullname" . }} + labels: + {{- include "xatu-mimicry.labels" . | nindent 4 }} +spec: + selector: + matchLabels: + {{- include "xatu-mimicry.selectorLabels" . | nindent 6 }} + {{- if .Values.podDisruptionBudget.minAvailable }} + minAvailable: {{ .Values.podDisruptionBudget.minAvailable }} + {{- end }} + {{- if .Values.podDisruptionBudget.maxUnavailable }} + maxUnavailable: {{ .Values.podDisruptionBudget.maxUnavailable }} + {{- end }} +{{- end -}} \ No newline at end of file diff --git a/charts/xatu-sentry/Chart.yaml b/charts/xatu-sentry/Chart.yaml index 6f9d7d4e..48af4253 100644 --- a/charts/xatu-sentry/Chart.yaml +++ b/charts/xatu-sentry/Chart.yaml @@ -3,7 +3,7 @@ name: xatu-sentry description: Ethereum p2p monitoring tool that runs along side a Ethereum consensus client and collects data via the consensus client's Beacon API. home: https://github.com/ethpandaops/xatu type: application -version: 0.0.7 +version: 0.0.8 maintainers: - name: samcm email: sam.calder-mason@ethereum.org diff --git a/charts/xatu-sentry/README.md b/charts/xatu-sentry/README.md index 6afc6131..81add919 100644 --- a/charts/xatu-sentry/README.md +++ b/charts/xatu-sentry/README.md @@ -1,7 +1,7 @@ # xatu-sentry -![Version: 0.0.7](https://img.shields.io/badge/Version-0.0.7-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) +![Version: 0.0.8](https://img.shields.io/badge/Version-0.0.8-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) Ethereum p2p monitoring tool that runs along side a Ethereum consensus client and collects data via the consensus client's Beacon API. diff --git a/charts/xatu-sentry/templates/pdb.yaml b/charts/xatu-sentry/templates/pdb.yaml new file mode 100644 index 00000000..dfc33d3e --- /dev/null +++ b/charts/xatu-sentry/templates/pdb.yaml @@ -0,0 +1,18 @@ +{{- if or .Values.podDisruptionBudget.minAvailable .Values.podDisruptionBudget.maxUnavailable -}} +apiVersion: policy/v1 +kind: PodDisruptionBudget +metadata: + name: {{ include "xatu-sentry.fullname" . }} + labels: + {{- include "xatu-sentry.labels" . | nindent 4 }} +spec: + selector: + matchLabels: + {{- include "xatu-sentry.selectorLabels" . | nindent 6 }} + {{- if .Values.podDisruptionBudget.minAvailable }} + minAvailable: {{ .Values.podDisruptionBudget.minAvailable }} + {{- end }} + {{- if .Values.podDisruptionBudget.maxUnavailable }} + maxUnavailable: {{ .Values.podDisruptionBudget.maxUnavailable }} + {{- end }} +{{- end -}} \ No newline at end of file diff --git a/charts/xatu-server/Chart.yaml b/charts/xatu-server/Chart.yaml index 700fd9d0..8f083666 100644 --- a/charts/xatu-server/Chart.yaml +++ b/charts/xatu-server/Chart.yaml @@ -3,7 +3,7 @@ name: xatu-server description: Ethereum p2p monitoring tool that collects events from and controls various Xatu clients. home: https://github.com/ethpandaops/xatu type: application -version: 0.0.10 +version: 0.0.11 maintainers: - name: samcm email: sam.calder-mason@ethereum.org diff --git a/charts/xatu-server/README.md b/charts/xatu-server/README.md index d23923cc..a018b506 100644 --- a/charts/xatu-server/README.md +++ b/charts/xatu-server/README.md @@ -1,7 +1,7 @@ # xatu-server -![Version: 0.0.10](https://img.shields.io/badge/Version-0.0.10-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) +![Version: 0.0.11](https://img.shields.io/badge/Version-0.0.11-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) Ethereum p2p monitoring tool that collects events from and controls various Xatu clients. diff --git a/charts/xatu-server/templates/pdb.yaml b/charts/xatu-server/templates/pdb.yaml new file mode 100644 index 00000000..68440f9c --- /dev/null +++ b/charts/xatu-server/templates/pdb.yaml @@ -0,0 +1,18 @@ +{{- if or .Values.podDisruptionBudget.minAvailable .Values.podDisruptionBudget.maxUnavailable -}} +apiVersion: policy/v1 +kind: PodDisruptionBudget +metadata: + name: {{ include "xatu-server.fullname" . }} + labels: + {{- include "xatu-server.labels" . | nindent 4 }} +spec: + selector: + matchLabels: + {{- include "xatu-server.selectorLabels" . | nindent 6 }} + {{- if .Values.podDisruptionBudget.minAvailable }} + minAvailable: {{ .Values.podDisruptionBudget.minAvailable }} + {{- end }} + {{- if .Values.podDisruptionBudget.maxUnavailable }} + maxUnavailable: {{ .Values.podDisruptionBudget.maxUnavailable }} + {{- end }} +{{- end -}} \ No newline at end of file