diff --git a/samples/cr/v1/cumulocity-iot-edge-cr.yaml b/samples/cr/v1/cumulocity-iot-edge-cr.yaml index c33493d..446b962 100644 --- a/samples/cr/v1/cumulocity-iot-edge-cr.yaml +++ b/samples/cr/v1/cumulocity-iot-edge-cr.yaml @@ -17,6 +17,6 @@ metadata: spec: version: 1014.0.0 licenseSecretName: license-secret - company: iot.com + company: IoT Company domain: myown.iot.com adminCredentialsSecretName: admin-credentials-secret \ No newline at end of file diff --git a/samples/cr/v1/cumulocity-iot-edge-do-not-deploy-some-apps-cr.yaml b/samples/cr/v1/cumulocity-iot-edge-do-not-deploy-some-apps-cr.yaml index a14c447..ed080a4 100644 --- a/samples/cr/v1/cumulocity-iot-edge-do-not-deploy-some-apps-cr.yaml +++ b/samples/cr/v1/cumulocity-iot-edge-do-not-deploy-some-apps-cr.yaml @@ -19,7 +19,7 @@ metadata: spec: version: 1014.0.0 licenseSecretName: license-secret - company: iot.com + company: IoT Company domain: myown.iot.com adminCredentialsSecretName: admin-credentials-secret diff --git a/samples/cr/v1/cumulocity-iot-edge-external-microservices-registry-cr.yaml b/samples/cr/v1/cumulocity-iot-edge-external-microservices-registry-cr.yaml index de2df25..d9c6cf9 100644 --- a/samples/cr/v1/cumulocity-iot-edge-external-microservices-registry-cr.yaml +++ b/samples/cr/v1/cumulocity-iot-edge-external-microservices-registry-cr.yaml @@ -19,7 +19,7 @@ metadata: spec: version: 1014.0.0 licenseSecretName: license-secret - company: iot.com + company: IoT Company domain: myown.iot.com adminCredentialsSecretName: admin-credentials-secret diff --git a/samples/cr/v1/cumulocity-iot-edge-external-mongodb-cr.yaml b/samples/cr/v1/cumulocity-iot-edge-external-mongodb-cr.yaml index 214fbcc..0c69dfb 100644 --- a/samples/cr/v1/cumulocity-iot-edge-external-mongodb-cr.yaml +++ b/samples/cr/v1/cumulocity-iot-edge-external-mongodb-cr.yaml @@ -18,7 +18,7 @@ metadata: spec: version: 1014.0.0 licenseSecretName: license-secret - company: iot.com + company: IoT Company domain: myown.iot.com adminCredentialsSecretName: admin-credentials-secret diff --git a/samples/ingress/cumulocity-iot-edge-ingress.yaml b/samples/ingress/cumulocity-iot-edge-ingress.yaml new file mode 100644 index 0000000..93efa63 --- /dev/null +++ b/samples/ingress/cumulocity-iot-edge-ingress.yaml @@ -0,0 +1,19 @@ +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + namespace: cumulocity-iot-edge + name: cumulocity-iot-edge-ingress + annotations: + traefik.ingress.kubernetes.io/router.entrypoints: web,websecure + traefik.ingress.kubernetes.io/router.tls: "true" +spec: + rules: + - http: + paths: + - path: / + pathType: Prefix + backend: + service: + name: cumulocity-iot-edge-http + port: + number: 80 \ No newline at end of file diff --git a/samples/service/cumulocity-iot-edge-service.yaml b/samples/service/cumulocity-iot-edge-service.yaml new file mode 100644 index 0000000..b181dbc --- /dev/null +++ b/samples/service/cumulocity-iot-edge-service.yaml @@ -0,0 +1,37 @@ +apiVersion: v1 +kind: Service +metadata: + labels: + app: cumulocity-iot-edge + name: cumulocity-iot-edge-http + namespace: cumulocity-iot-edge +spec: + ports: + - name: 443-443 + port: 443 + targetPort: 443 + - name: 80-80 + port: 80 + targetPort: 80 + selector: + app: cumulocity-iot-edge + type: ClusterIP +--- +apiVersion: v1 +kind: Service +metadata: + labels: + app: cumulocity-iot-edge + name: cumulocity-iot-edge-mqtt + namespace: cumulocity-iot-edge +spec: + ports: + - name: 1884-1884 + port: 1884 + targetPort: 1884 + - name: 1883-1883 + port: 1883 + targetPort: 1883 + selector: + app: cumulocity-iot-edge + type: LoadBalancer \ No newline at end of file