Skip to content
Closed
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
29 changes: 0 additions & 29 deletions k8s/bases/apps/ascoachingogvaner/networkpolicy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,36 +13,7 @@ spec:
- ports:
- port: "3000"
protocol: TCP
# Intra-namespace (app β†’ db, db replication)
- fromEndpoints:
- matchLabels:
k8s:io.kubernetes.pod.namespace: ascoachingogvaner
# CNPG operator needs to reach DB status endpoint (port 8000)
- fromEndpoints:
- matchLabels:
k8s:io.kubernetes.pod.namespace: cnpg-system
toPorts:
- ports:
- port: "8000"
protocol: TCP
- port: "5432"
protocol: TCP
# Metrics scraping from monitoring namespace
- fromEndpoints:
- matchLabels:
k8s:io.kubernetes.pod.namespace: monitoring
toPorts:
- ports:
- port: "9187"
protocol: TCP
egress:
# Intra-namespace (app β†’ db)
- toEndpoints:
- matchLabels:
k8s:io.kubernetes.pod.namespace: ascoachingogvaner
# Kube API (for CNPG operator managing the cluster)
- toEntities:
- kube-apiserver
# DNS resolution
- toEndpoints:
- matchLabels:
Expand Down
2 changes: 1 addition & 1 deletion k8s/bases/apps/ascoachingogvaner/sync.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ metadata:
spec:
interval: 1m
ref:
tag: 1.0.1 # {"$imagepolicy": "ascoachingogvaner:ascoachingogvaner:tag"}
tag: 1.1.0 # {"$imagepolicy": "ascoachingogvaner:ascoachingogvaner:tag"}
url: oci://ghcr.io/devantler-tech/ascoachingogvaner/manifests
secretRef:
name: ghcr-auth
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,10 @@ metadata:
namespace: ascoachingogvaner
spec:
patches:
- target:
group: postgresql.cnpg.io
kind: Cluster
name: ascoaching-db
patch: |
apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:
name: ascoaching-db
spec:
storage:
storageClass: longhorn
# The static ascoachingogvaner app no longer ships a CNPG Cluster (it was
# removed in the static-site conversion, ascoachingogvaner v1.1.0), so the
# former Cluster/ascoaching-db storageClass patch is gone β€” patching a
# non-existent target fails the kustomize build.
- target:
kind: HTTPRoute
name: ascoachingogvaner
Expand Down
Loading