This commit is contained in:
parent
cf3e62078a
commit
96e59e9c76
35
rmfakecloud/rmfakecloud-deployment.yaml
Normal file
35
rmfakecloud/rmfakecloud-deployment.yaml
Normal file
@ -0,0 +1,35 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: rmfakecloud
|
||||
namespace: rmfakecloud-ns
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: rmfakecloud
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: rmfakecloud
|
||||
spec:
|
||||
containers:
|
||||
- name: rmfakecloud
|
||||
image: ddvk/rmfakecloud
|
||||
env:
|
||||
- name: JWT_SECRET_KEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: rmfakecloud-jwt
|
||||
key: JWT-KEY
|
||||
- name: STORAGE_URL
|
||||
value: "https://remarkable.clortox.com"
|
||||
ports:
|
||||
- containerPort: 3000
|
||||
volumeMounts:
|
||||
- name: rmfakecloud-data
|
||||
mountPath: "/data"
|
||||
volumes:
|
||||
- name: rmfakecloud-data
|
||||
persistentVolumeClaim:
|
||||
claimName: rmfakecloud-pvc-data
|
12
rmfakecloud/rmfakecloud-pvc-data.yaml
Normal file
12
rmfakecloud/rmfakecloud-pvc-data.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: rmfakecloud-pvc-data
|
||||
namespace: rmfakecloud-ns
|
||||
spec:
|
||||
storageClassName: longhorn
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 4Gi
|
12
rmfakecloud/rmfakecloud-service.yaml
Normal file
12
rmfakecloud/rmfakecloud-service.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: rmfakecloud-service
|
||||
namespace: rmfakecloud-ns
|
||||
spec:
|
||||
type: LoadBalancer
|
||||
ports:
|
||||
- port: 80
|
||||
targetPort: 3000
|
||||
selector:
|
||||
app: rmfakecloud
|
14
rmfakecloud/sealed-secret.yaml
Normal file
14
rmfakecloud/sealed-secret.yaml
Normal file
@ -0,0 +1,14 @@
|
||||
apiVersion: bitnami.com/v1alpha1
|
||||
kind: SealedSecret
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
name: rmfakecloud-jwt
|
||||
namespace: rmfakecloud-ns
|
||||
spec:
|
||||
encryptedData:
|
||||
JWT-KEY: AgAVzc3WygN+qNUVgvwj6uGDzajH2Rc9PXxbTmHccwoMD1q9vWGopMDC9YzxKtO5UyVJRT+d0SfFX62NW98y+9U1FOc/7Cx7dGoF4ejzeoJIMytISlybt/bczlULiLczvXPxQdpytgbq4k3QEnm5fh1skJ0bUVWzOKnVqQiSKijow2LDCxHWXZ6Dt6WO/d/1/423ztueNDMpYdw/FlHKw0398bAc3GMEj3LtmcxdJZWkAaU7MNFIq29Om3bL9Xl87Gust+I54u8VsRvnKfjmqpt2ceJtlgdmypKCiWjRYfNUBB0rYe3jo6xHy5QnsPNyfQrgO9X6Y38ua7mLDxKXX0PhXcg8Cq0dFpB2AS7I0NxR2RNy8XvlducBXPqvCzDmaGQog6yVfSj/nNLzQA0QQkOLPmwlStQ7skU63Vr4Ny8NSEXO7rCzj+Oh7SiQxFjOq5IwTQQyfUjvgWzlhGXtAHKHaicYMv8Qd0IIsylslWRAkY74JdxJZxTsE9GoYXjq+NjvmHAV64zHj2Cs0Iy88ZYNnk4wg8ExOTjEh2KGPUdr/xFsFQGzgIxy1NAipxWxP5XFMjbOvTKf1HUiZ22vmz6mGf1mzyQs1XfRdmqBxHqwgV+3ii3Syxd0tzJNZ2AIDX60+ZUy2xyRfqdMjc1bKLKQLm+TypfwOzExx6Tcjea7qUdDAj4UXzCrmsP+YfYGAd+HwTedeJAsYKF6zwIlXPCkUs46IzahEUwRXz96amPuJw==
|
||||
template:
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
name: rmfakecloud-jwt
|
||||
namespace: rmfakecloud-ns
|
Loading…
Reference in New Issue
Block a user