The developer guide does not work in OpenShift because the Helm charts have insecure security policies and will not launch the hello-toy
instance. To get around this I would like to launch another container app to use the ziti-host
proxy but I’m having issues mapping the additional containers to the ziti-host
service.
I have OpenShift 4.12 setup with a Helm openziti/ziti-host
chart installed. I can not figure out how to have other containers use the ziti-host
service.
I am using the following install guide;
apiVersion: v1
metadata:
name: sof-01-service
namespace: metalcoms
uid: db29a881-acf9-456c-b8b4-b3e4e13fbc77
resourceVersion: '2727235'
creationTimestamp: '2023-05-02T00:16:05Z'
labels:
app.kubernetes.io/instance: hello-netfoundry
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: hello-toy
app.kubernetes.io/version: latest
helm.sh/chart: hello-toy-2.0.1
annotations:
meta.helm.sh/release-name: hello-netfoundry
meta.helm.sh/release-namespace: metalcoms
managedFields:
- manager: helm
operation: Update
apiVersion: v1
time: '2023-05-02T00:16:05Z'
fieldsType: FieldsV1
fieldsV1:
'f:metadata':
'f:annotations':
.: {}
'f:meta.helm.sh/release-name': {}
'f:meta.helm.sh/release-namespace': {}
'f:labels':
.: {}
'f:app.kubernetes.io/instance': {}
'f:app.kubernetes.io/managed-by': {}
'f:app.kubernetes.io/name': {}
'f:app.kubernetes.io/version': {}
'f:helm.sh/chart': {}
'f:spec':
'f:internalTrafficPolicy': {}
'f:ports':
.: {}
'k:{"port":80,"protocol":"TCP"}':
.: {}
'f:name': {}
'f:port': {}
'f:protocol': {}
'f:targetPort': {}
'f:selector': {}
'f:sessionAffinity': {}
'f:type': {}
spec:
clusterIP: 172.30.75.106
ipFamilies:
- IPv4
ports:
- name: http
protocol: TCP
port: 80
targetPort: http
internalTrafficPolicy: Cluster
clusterIPs:
- 172.30.75.106
type: ClusterIP
ipFamilyPolicy: SingleStack
sessionAffinity: None
selector:
app.kubernetes.io/instance: hello-netfoundry
app.kubernetes.io/name: hello-toy
status:
loadBalancer: {}