chore(ci): update build configs for new openshift cluster

Signed-off-by: Sagar Arora <sagar.arora@openairinterface.org>
This commit is contained in:
Sagar Arora
2025-01-17 10:29:20 +01:00
parent 50f2c2a3dd
commit 75f6f3ca6f
13 changed files with 87 additions and 10 deletions
+3 -3
View File
@@ -49,11 +49,11 @@ will need `etc-pki-entitlement` inside the container image.
To import `etc-pki-entitlement` in your project follow this
[guide](https://docs.openshift.com/container-platform/4.14/cicd/builds/running-entitled-builds.html#builds-source-secrets-entitlements_running-entitled-builds)
In case you have difficulties in following it then you can copy the
certificates from an RHEL9 host
You can do it as a kubeadmin/system admin user or you should have the rights
to read secrets from `openshift-config-managed` project
```bash
oc create secret generic etc-pki-entitlement --from-file /etc/pki/entitlement/{NUMBER_ON_YOUR_COMPUTER}.pem --from-file /etc/pki/entitlement/{NUMBER_ON_YOUR_COMPUTER}-key.pem
oc get secret etc-pki-entitlement -n openshift-config-managed -o json | jq 'del(.metadata.resourceVersion)' | jq 'del(.metadata.creationTimestamp)' | jq 'del(.metadata.uid)' | jq 'del(.metadata.namespace)' | oc create -f -
```
# 2. Build of `base` shared image