-
Notifications
You must be signed in to change notification settings - Fork 3
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
feat(container)!: Update image postgresql to v14 - autoclosed #3218
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- kubernetes/main/apps/home/postgresql/app Kustomization: flux-system/postgresql HelmRelease: home/hass-postgresql
+++ kubernetes/main/apps/home/postgresql/app Kustomization: flux-system/postgresql HelmRelease: home/hass-postgresql
@@ -13,13 +13,13 @@
spec:
chart: postgresql
sourceRef:
kind: HelmRepository
name: bitnami
namespace: flux-system
- version: 13.2.27
+ version: 14.3.3
install:
createNamespace: true
remediation:
retries: 3
interval: 10m
maxHistory: 3 |
--- HelmRelease: home/hass-postgresql StatefulSet: home/hass-postgresql
+++ HelmRelease: home/hass-postgresql StatefulSet: home/hass-postgresql
@@ -26,13 +26,14 @@
labels:
app.kubernetes.io/instance: hass-postgresql
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: postgresql
app.kubernetes.io/component: primary
spec:
- serviceAccountName: default
+ serviceAccountName: hass-postgresql
+ automountServiceAccountToken: false
affinity:
podAffinity: null
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- podAffinityTerm:
labelSelector:
@@ -42,12 +43,15 @@
app.kubernetes.io/component: primary
topologyKey: kubernetes.io/hostname
weight: 1
nodeAffinity: null
securityContext:
fsGroup: 1001
+ fsGroupChangePolicy: Always
+ supplementalGroups: []
+ sysctls: []
hostNetwork: false
hostIPC: false
containers:
- name: postgresql
image: docker.io/bitnami/postgresql:16.1.0
imagePullPolicy: IfNotPresent
@@ -55,14 +59,16 @@
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
privileged: false
readOnlyRootFilesystem: false
+ runAsGroup: 0
runAsNonRoot: true
runAsUser: 1001
+ seLinuxOptions: null
seccompProfile:
type: RuntimeDefault
env:
- name: BITNAMI_DEBUG
value: 'false'
- name: POSTGRESQL_PORT_NUMBER
@@ -127,23 +133,32 @@
- /bin/sh
- -c
- -e
- |
exec pg_isready -U "hass-postgres" -d "dbname=hass" -h 127.0.0.1 -p 5432
[ -f /opt/bitnami/postgresql/tmp/.initialized ] || [ -f /bitnami/postgresql/.initialized ]
- resources:
- limits: {}
- requests:
- cpu: 250m
- memory: 256Mi
volumeMounts:
+ - name: empty-dir
+ mountPath: /tmp
+ subPath: tmp-dir
+ - name: empty-dir
+ mountPath: /opt/bitnami/postgresql/conf
+ subPath: app-conf-dir
+ - name: empty-dir
+ mountPath: /opt/bitnami/postgresql/tmp
+ subPath: app-tmp-dir
+ - name: empty-dir
+ mountPath: /opt/bitnami/postgresql/logs
+ subPath: app-logs-dir
- name: dshm
mountPath: /dev/shm
- name: data
mountPath: /bitnami/postgresql
volumes:
+ - name: empty-dir
+ emptyDir: {}
- name: dshm
emptyDir:
medium: Memory
- name: data
persistentVolumeClaim:
claimName: hass-postgresql-data-0
--- HelmRelease: home/hass-postgresql NetworkPolicy: home/hass-postgresql
+++ HelmRelease: home/hass-postgresql NetworkPolicy: home/hass-postgresql
@@ -0,0 +1,26 @@
+---
+kind: NetworkPolicy
+apiVersion: networking.k8s.io/v1
+metadata:
+ name: hass-postgresql
+ namespace: home
+ labels:
+ app.kubernetes.io/instance: hass-postgresql
+ app.kubernetes.io/managed-by: Helm
+ app.kubernetes.io/name: postgresql
+ app.kubernetes.io/component: primary
+spec:
+ podSelector:
+ matchLabels:
+ app.kubernetes.io/instance: hass-postgresql
+ app.kubernetes.io/name: postgresql
+ app.kubernetes.io/component: primary
+ policyTypes:
+ - Ingress
+ - Egress
+ egress:
+ - {}
+ ingress:
+ - ports:
+ - port: 5432
+
--- HelmRelease: home/hass-postgresql ServiceAccount: home/hass-postgresql
+++ HelmRelease: home/hass-postgresql ServiceAccount: home/hass-postgresql
@@ -0,0 +1,12 @@
+---
+apiVersion: v1
+kind: ServiceAccount
+metadata:
+ name: hass-postgresql
+ namespace: home
+ labels:
+ app.kubernetes.io/instance: hass-postgresql
+ app.kubernetes.io/managed-by: Helm
+ app.kubernetes.io/name: postgresql
+automountServiceAccountToken: false
+ |
bot-x-mod
bot
force-pushed
the
renovate/main-postgresql-14.x
branch
10 times, most recently
from
February 23, 2024 22:18
1f205ae
to
6e56e47
Compare
bot-x-mod
bot
force-pushed
the
renovate/main-postgresql-14.x
branch
from
February 24, 2024 20:18
6e56e47
to
9099543
Compare
bot-x-mod
bot
force-pushed
the
renovate/main-postgresql-14.x
branch
3 times, most recently
from
March 7, 2024 07:16
87b0782
to
f62ae06
Compare
bot-x-mod
bot
force-pushed
the
renovate/main-postgresql-14.x
branch
2 times, most recently
from
March 12, 2024 01:15
9db8232
to
baec819
Compare
bot-x-mod
bot
force-pushed
the
renovate/main-postgresql-14.x
branch
from
March 12, 2024 22:19
baec819
to
63b7ba5
Compare
bot-x-mod
bot
changed the title
feat(container)!: Update image postgresql to v14
feat(container)!: Update image postgresql to v14 - autoclosed
Mar 18, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
13.2.27
->14.3.3
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.