Skip to content

Commit df49d16

Browse files
committed
Remove namespace field from OpenShift configurations
Signed-off-by: Siteshwar Vashisht <[email protected]>
1 parent 1a2352c commit df49d16

File tree

5 files changed

+5
-4
lines changed

5 files changed

+5
-4
lines changed

beeai/openshift/configmap-x-beeai-agent-configmap.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,3 @@ immutable: false
88
kind: ConfigMap
99
metadata:
1010
name: x-beeai-agent-configmap
11-
namespace: jotnar-prod

beeai/openshift/deploy.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,15 @@
22

33
set -e
44

5+
# TODO: This should be removed when we have more than one OpenShift deployment.
6+
oc project jotnar-prod
7+
58
for filename in *.yml; do
69
# This check prevents an error if no .yml files are found.
710
if [ -e "$filename" ]; then
811
echo "Applying $filename ..."
12+
# TODO: avoid accidentally applying to wrong namespace by using `-n` argument
13+
# https://github.com/packit/ai-workflows/pull/74#discussion_r2256759455
914
oc apply -f "$filename"
1015
fi
1116
done

beeai/openshift/pvc-phoenix-data.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ apiVersion: v1
22
kind: PersistentVolumeClaim
33
metadata:
44
name: phoenix-data
5-
namespace: jotnar-prod
65
spec:
76
accessModes:
87
- ReadWriteOnce

beeai/openshift/pvc-valkey-data.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ apiVersion: v1
22
kind: PersistentVolumeClaim
33
metadata:
44
name: valkey-data
5-
namespace: jotnar-prod
65
spec:
76
accessModes:
87
- ReadWriteOnce

beeai/openshift/route-phoenix.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ metadata:
1111
app.kubernetes.io/part-of: beeai
1212
app.openshift.io/runtime-version: version-11.6.2
1313
name: phoenix
14-
namespace: jotnar-prod
1514
spec:
1615
port:
1716
targetPort: 6006-tcp

0 commit comments

Comments
 (0)