mirror of
https://github.com/caronc/apprise-api.git
synced 2025-01-23 22:39:12 +01:00
parent
f14608f560
commit
930e844c92
39
README.md
39
README.md
@ -480,11 +480,15 @@ Thanks to @steled, here is what a potential Kubernetes deployment configuration
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Namespace
|
kind: Namespace
|
||||||
metadata:
|
metadata:
|
||||||
|
labels:
|
||||||
|
name: apprise
|
||||||
name: apprise
|
name: apprise
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
metadata:
|
metadata:
|
||||||
|
labels:
|
||||||
|
name: apprise
|
||||||
name: apprise-api-override-conf-config
|
name: apprise-api-override-conf-config
|
||||||
namespace: apprise
|
namespace: apprise
|
||||||
data:
|
data:
|
||||||
@ -495,10 +499,43 @@ data:
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Secret
|
kind: Secret
|
||||||
metadata:
|
metadata:
|
||||||
|
labels:
|
||||||
|
name: apprise
|
||||||
name: apprise-api-htpasswd-secret
|
name: apprise-api-htpasswd-secret
|
||||||
namespace: apprise
|
namespace: apprise
|
||||||
data:
|
data:
|
||||||
.htpasswd: <base64_encoded> # add output of: htpasswd -c apprise_api.htpasswd dgops-kubernetes && cat apprise_api.htpasswd | base64
|
.htpasswd: <base64_encoded> # add output of: htpasswd -c apprise_api.htpasswd <USERNAME> && cat apprise_api.htpasswd | base64
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
name: apprise
|
||||||
|
name: apprise-data
|
||||||
|
namespace: apprise
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 1Gi
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
name: apprise
|
||||||
|
name: apprise
|
||||||
|
namespace: apprise
|
||||||
|
spec:
|
||||||
|
ports:
|
||||||
|
- name: http
|
||||||
|
port: 80
|
||||||
|
protocol: TCP
|
||||||
|
targetPort: 8000
|
||||||
|
selector:
|
||||||
|
name: apprise
|
||||||
|
type: ClusterIP
|
||||||
---
|
---
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
|
Loading…
Reference in New Issue
Block a user