Compare commits
2 Commits
4eb94e172d
...
c64a3d8b28
Author | SHA1 | Date | |
---|---|---|---|
c64a3d8b28 | |||
3f177cb93e |
@ -2,8 +2,8 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: toy-configmap
|
||||
namespace: toy
|
||||
name: kipunji-configmap
|
||||
namespace: kipunji
|
||||
annotations:
|
||||
reloader.stakater.com/match: "true"
|
||||
data:
|
||||
|
@ -2,7 +2,7 @@
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: toy-ingress
|
||||
name: kipunji-ingress
|
||||
spec:
|
||||
rules:
|
||||
- http:
|
||||
@ -11,6 +11,6 @@ spec:
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: toy
|
||||
name: kipunji
|
||||
port:
|
||||
name: web
|
||||
|
@ -1,7 +1,7 @@
|
||||
---
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: toy
|
||||
namespace: kipunji
|
||||
resources:
|
||||
- secret.yaml
|
||||
- configmap.yaml
|
||||
|
@ -2,7 +2,7 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Rollout
|
||||
metadata:
|
||||
name: toy
|
||||
name: kipunji
|
||||
annotations:
|
||||
reloader.stakater.com/auto: "true"
|
||||
spec:
|
||||
@ -21,15 +21,15 @@ spec:
|
||||
revisionHistoryLimit: 2
|
||||
selector:
|
||||
matchLabels:
|
||||
app: toy
|
||||
app: kipunji
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: toy
|
||||
app: kipunji
|
||||
spec:
|
||||
containers:
|
||||
- name: toy
|
||||
image: git.kill0.net/ryanc/toy:latest
|
||||
- name: kipunji
|
||||
image: git.kill0.net/ryanc/kipunji:latest
|
||||
imagePullPolicy: Always
|
||||
ports:
|
||||
- name: web
|
||||
@ -38,12 +38,12 @@ spec:
|
||||
- name: SESSION_SECRET
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: toy-session-secret
|
||||
name: kipunji-session-secret
|
||||
key: session_secret
|
||||
optional: true
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: toy-configmap
|
||||
name: kipunji-configmap
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /livez
|
||||
|
@ -3,15 +3,15 @@ apiVersion: bitnami.com/v1alpha1
|
||||
kind: SealedSecret
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
name: toy-session-secret
|
||||
namespace: toy
|
||||
name: kipunji-session-secret
|
||||
namespace: kipunji
|
||||
annotations:
|
||||
reloader.stakater.com/match: "true"
|
||||
spec:
|
||||
encryptedData:
|
||||
session_secret: AgBTxKU1zmMUNAUi9zR8bBby/u7voCe9axQgtNP9naE4Jhb8cGORCOuhT7EwUNZUc0gYf8XE56EeZQx9fl/m7IPr34dkC7IK22ZAG391PUBsj7gKYdBRL+s7hqH2s02eY3EIw45lWWjjdEmEizenFmqKpD0zD/UZFps1oRUnJ8Fry/wmfpNsapyb3J5fMC1p/SlJAFAEbGe+BKhjyIxAgHbizL510X1fGvS7LGgUQR4ePnX8Xmi1ubM8PeQOX0tRZwdw+AT8hm1eUd9KSw1PwlcF/xzrGHb7Pw5zTwoa9p1H9+nv80SyNdKxgWvwFj0+GThbOc3wiF1ENVyZmxZo/Y5SyHs7QpATvy23f253aC67nmTz5FU2KkmfqO8hGhdsrxIdQo/iMZq/SVABX4FgbrbKi70dRMe4SWRD1albqp4h/e2asBMPyzS+L27m6zD8BMZ+J9sQGyjAzzkADS5xG9UAF78fXZXJmPbNxCq92FFINHK98np3ucP+VdDBMyfOeKH8ieBR/qfakWRHnVQVsR+hnwdRS0CMixw7wB6RQw/JCAXKiwKVvvmVVXZzpNucuTesFClYNTxRKhPBHtiyXEPDaHpi7PghQB81wDcY0T9u6HYjGl4udA0friiN1CmUGO8e5FtkQ4eiMe+SIB3oCXNGWErMpMkHIRdt4rdP08rZ2m4GG3MKtQlBK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
|
||||
template:
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
name: toy-session-secret
|
||||
namespace: toy
|
||||
name: kipunji-session-secret
|
||||
namespace: kipunji
|
||||
|
@ -2,7 +2,7 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: toy
|
||||
name: kipunji
|
||||
|
||||
spec:
|
||||
ports:
|
||||
@ -10,4 +10,4 @@ spec:
|
||||
port: 80
|
||||
targetPort: web
|
||||
selector:
|
||||
app: toy
|
||||
app: kipunji
|
||||
|
@ -1,7 +1,7 @@
|
||||
---
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: toy
|
||||
namespace: kipunji
|
||||
resources:
|
||||
- namespace.yaml
|
||||
- ./app
|
||||
|
@ -2,19 +2,19 @@
|
||||
kind: Deployment
|
||||
apiVersion: apps/v1
|
||||
metadata:
|
||||
name: toy-memcached
|
||||
name: kipunji-memcached
|
||||
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: toy-memcached
|
||||
app: kipunji-memcached
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: toy-memcached
|
||||
app: kipunji-memcached
|
||||
spec:
|
||||
containers:
|
||||
- name: toy-memcached
|
||||
- name: kipunji-memcached
|
||||
image: memcached:latest
|
||||
ports:
|
||||
- name: memcached
|
||||
|
@ -1,7 +1,7 @@
|
||||
---
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: toy
|
||||
namespace: kipunji
|
||||
resources:
|
||||
- deployment.yaml
|
||||
- services.yaml
|
||||
|
@ -2,7 +2,7 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: toy-memcached
|
||||
name: kipunji-memcached
|
||||
|
||||
spec:
|
||||
ports:
|
||||
@ -10,4 +10,4 @@ spec:
|
||||
port: 11211
|
||||
targetPort: memcached
|
||||
selector:
|
||||
app: toy-memcached
|
||||
app: kipunji-memcached
|
||||
|
@ -2,5 +2,5 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: toy
|
||||
name: kipunji
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user