Compare commits
No commits in common. "bfbd0d8deb73ae99a241bc01c8332e25293d790b" and "1c78495bc6866c871583b213028f13bd763e2248" have entirely different histories.
bfbd0d8deb
...
1c78495bc6
|
|
@ -17,6 +17,6 @@ spec:
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: j7s-os-app
|
- name: j7s-os-app
|
||||||
image: harbor.internal.jpace121.net/k8s/j7s-os-deploy:latest
|
image: 192.168.1.149:8443/j7s-os-deploy:latest
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
|
|
@ -8,4 +8,4 @@ spec:
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: j7s-os-app
|
- name: j7s-os-app
|
||||||
image: harbor.internal.jpace121.net/k8s/j7s-os-deploy:202301310258-b56f8fa
|
image: 192.168.1.149:8443/j7s-os-deploy:202301310258-b56f8fa
|
||||||
|
|
|
||||||
|
|
@ -1,39 +0,0 @@
|
||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: ConfigMap
|
|
||||||
metadata:
|
|
||||||
name: mosquitto-conf
|
|
||||||
data:
|
|
||||||
acl.yaml: |
|
|
||||||
default:
|
|
||||||
can_read: true
|
|
||||||
can_write: false
|
|
||||||
jimmy:
|
|
||||||
can_read: true
|
|
||||||
can_write: true
|
|
||||||
keys.yaml: |
|
|
||||||
default:
|
|
||||||
- /opt/mqtt/jpace121-key.pem
|
|
||||||
- /opt/mqtt/service-key.pem
|
|
||||||
mosquitto.conf: |
|
|
||||||
per_listener_settings false
|
|
||||||
allow_anonymous false
|
|
||||||
log_type all
|
|
||||||
|
|
||||||
auth_plugin /usr/lib/libj7s-plugin.so
|
|
||||||
auth_opt_key_file /opt/mqtt/keys.yaml
|
|
||||||
auth_opt_acl_file /opt/mqtt/acl.yaml
|
|
||||||
|
|
||||||
listener 9000
|
|
||||||
protocol websockets
|
|
||||||
|
|
||||||
listener 9001
|
|
||||||
protocol mqtt
|
|
||||||
service-key.pem: |
|
|
||||||
-----BEGIN PUBLIC KEY-----
|
|
||||||
MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE9DBwMe+eHkYLfq076sFq75gepyaL4LQtX8qVlGjJCtLxV308L2d8XGC35VBxrIbx8Bs5sKT4e5s9suzO8FhGMQ==
|
|
||||||
-----END PUBLIC KEY-----
|
|
||||||
jpace121-key.pem: |
|
|
||||||
-----BEGIN PUBLIC KEY-----
|
|
||||||
MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEqdtuaoyDj8jCtgB9qfUMwDe//VLAF1HTXHTQ7OS8i/S3wjOC4YOHxRy9kYQ3LdE44r7kIX6DR8VLJ3srctQ0xw==
|
|
||||||
-----END PUBLIC KEY-----
|
|
||||||
|
|
@ -1,33 +0,0 @@
|
||||||
---
|
|
||||||
apiVersion: apps/v1
|
|
||||||
kind: Deployment
|
|
||||||
metadata:
|
|
||||||
name: mosquitto-deployment
|
|
||||||
labels:
|
|
||||||
app: mosquitto
|
|
||||||
spec:
|
|
||||||
replicas: 1
|
|
||||||
selector:
|
|
||||||
matchLabels:
|
|
||||||
app: mosquitto
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
app: mosquitto
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- name: mosquitto
|
|
||||||
image: harbor.internal.jpace121.net/k8s/mosquitto:latest
|
|
||||||
args: ["-v", "-c", "/opt/mqtt/mosquitto.conf"]
|
|
||||||
volumeMounts:
|
|
||||||
- mountPath: /opt/mqtt
|
|
||||||
name: mosquitto-conf
|
|
||||||
ports:
|
|
||||||
- containerPort: 9000
|
|
||||||
name: websockets-port
|
|
||||||
- containerPort: 9001
|
|
||||||
name: mqtt-port
|
|
||||||
volumes:
|
|
||||||
- name: mosquitto-conf
|
|
||||||
configMap:
|
|
||||||
name: mosquitto-conf
|
|
||||||
|
|
@ -1,6 +0,0 @@
|
||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
||||||
kind: Kustomization
|
|
||||||
resources:
|
|
||||||
- configmap.yaml
|
|
||||||
- deployment.yaml
|
|
||||||
- service.yaml
|
|
||||||
|
|
@ -1,16 +0,0 @@
|
||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: Service
|
|
||||||
metadata:
|
|
||||||
name: mosquitto-service
|
|
||||||
spec:
|
|
||||||
selector:
|
|
||||||
app: mosquitto
|
|
||||||
type: LoadBalancer
|
|
||||||
ports:
|
|
||||||
- protocol: TCP
|
|
||||||
port: 9000
|
|
||||||
name: websockets-port
|
|
||||||
- protocol: TCP
|
|
||||||
port: 9001
|
|
||||||
name: mqtt-port
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
||||||
kind: Kustomization
|
|
||||||
namespace: mosquitto
|
|
||||||
resources:
|
|
||||||
- ../mosquitto-base
|
|
||||||
- namespace.yaml
|
|
||||||
patchesStrategicMerge:
|
|
||||||
- patch.yaml
|
|
||||||
|
|
@ -1,4 +0,0 @@
|
||||||
apiVersion: v1
|
|
||||||
kind: Namespace
|
|
||||||
metadata:
|
|
||||||
name: mosquitto
|
|
||||||
|
|
@ -1,11 +0,0 @@
|
||||||
---
|
|
||||||
apiVersion: apps/v1
|
|
||||||
kind: Deployment
|
|
||||||
metadata:
|
|
||||||
name: mosquitto-deployment
|
|
||||||
spec:
|
|
||||||
template:
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- name: mosquitto
|
|
||||||
image: harbor.internal.jpace121.net/k8s/mosquitto:0.0.7
|
|
||||||
|
|
@ -1,29 +0,0 @@
|
||||||
---
|
|
||||||
apiVersion: apps/v1
|
|
||||||
kind: Deployment
|
|
||||||
metadata:
|
|
||||||
name: squid-deployment
|
|
||||||
labels:
|
|
||||||
app: squid
|
|
||||||
spec:
|
|
||||||
replicas: 1
|
|
||||||
selector:
|
|
||||||
matchLabels:
|
|
||||||
app: squid
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
app: squid
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- name: squid
|
|
||||||
image: 192.168.1.149:8443/squid:0.3
|
|
||||||
volumeMounts:
|
|
||||||
- mountPath: /var/spool/squid
|
|
||||||
name: squid-volume
|
|
||||||
ports:
|
|
||||||
- containerPort: 3128
|
|
||||||
name: squid-port
|
|
||||||
volumes:
|
|
||||||
- name: squid-volume
|
|
||||||
emptyDir: {}
|
|
||||||
|
|
@ -1,5 +0,0 @@
|
||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
||||||
kind: Kustomization
|
|
||||||
resources:
|
|
||||||
- deployment.yaml
|
|
||||||
- service.yaml
|
|
||||||
|
|
@ -1,13 +0,0 @@
|
||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: Service
|
|
||||||
metadata:
|
|
||||||
name: squid-service
|
|
||||||
spec:
|
|
||||||
selector:
|
|
||||||
app: squid
|
|
||||||
ports:
|
|
||||||
- protocol: TCP
|
|
||||||
targetPort: 3128
|
|
||||||
port: 3128
|
|
||||||
name: squid-port
|
|
||||||
|
|
@ -1,4 +0,0 @@
|
||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
||||||
kind: Kustomization
|
|
||||||
resources:
|
|
||||||
- ../squid-base
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
||||||
kind: Kustomization
|
|
||||||
resources:
|
|
||||||
- https://storage.googleapis.com/tekton-releases/pipeline/previous/v0.46.0/release.yaml
|
|
||||||
- https://storage.googleapis.com/tekton-releases/triggers/previous/v0.23.0/release.yaml
|
|
||||||
- https://storage.googleapis.com/tekton-releases/triggers/previous/v0.23.0/interceptors.yaml
|
|
||||||
- https://storage.googleapis.com/tekton-releases/dashboard/previous/v0.34.0/release.yaml
|
|
||||||
Loading…
Reference in New Issue