Compare commits

..

No commits in common. "274086358ea1395d0448fb5e47a140a2bed593ed" and "d52786aa4449abd550b2cc2040a563eaf7a65e9c" have entirely different histories.

12 changed files with 27 additions and 36 deletions

9
app.rb
View File

@ -363,12 +363,3 @@ route :delete, :get, :patch, :post, :put, "/status/:code" do
code = Integer(params[:code])
status code if code.between? 100, 599
end
get "/chunked/:delay" do
delay = Float(params[:delay])
stream do |out|
out << "Hello, world!\n"
sleep delay
out << "Hello, world!\n"
end
end

View File

@ -2,8 +2,8 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: kipunji-configmap
namespace: kipunji
name: toy-configmap
namespace: toy
annotations:
reloader.stakater.com/match: "true"
data:

View File

@ -2,7 +2,7 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: kipunji-ingress
name: toy-ingress
spec:
rules:
- http:
@ -11,6 +11,6 @@ spec:
pathType: Prefix
backend:
service:
name: kipunji
name: toy
port:
name: web

View File

@ -1,7 +1,7 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: kipunji
namespace: toy
resources:
- secret.yaml
- configmap.yaml

View File

@ -2,7 +2,7 @@
apiVersion: argoproj.io/v1alpha1
kind: Rollout
metadata:
name: kipunji
name: toy
annotations:
reloader.stakater.com/auto: "true"
spec:
@ -21,15 +21,15 @@ spec:
revisionHistoryLimit: 2
selector:
matchLabels:
app: kipunji
app: toy
template:
metadata:
labels:
app: kipunji
app: toy
spec:
containers:
- name: kipunji
image: git.kill0.net/ryanc/kipunji:latest
- name: toy
image: git.kill0.net/ryanc/toy:latest
imagePullPolicy: Always
ports:
- name: web
@ -38,12 +38,12 @@ spec:
- name: SESSION_SECRET
valueFrom:
secretKeyRef:
name: kipunji-session-secret
name: toy-session-secret
key: session_secret
optional: true
envFrom:
- configMapRef:
name: kipunji-configmap
name: toy-configmap
livenessProbe:
httpGet:
path: /livez

View File

@ -3,8 +3,8 @@ apiVersion: bitnami.com/v1alpha1
kind: SealedSecret
metadata:
creationTimestamp: null
name: kipunji-session-secret
namespace: kipunji
name: toy-session-secret
namespace: toy
annotations:
reloader.stakater.com/match: "true"
spec:
@ -13,5 +13,5 @@ spec:
template:
metadata:
creationTimestamp: null
name: kipunji-session-secret
namespace: kipunji
name: toy-session-secret
namespace: toy

View File

@ -2,7 +2,7 @@
apiVersion: v1
kind: Service
metadata:
name: kipunji
name: toy
spec:
ports:
@ -10,4 +10,4 @@ spec:
port: 80
targetPort: web
selector:
app: kipunji
app: toy

View File

@ -1,7 +1,7 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: kipunji
namespace: toy
resources:
- namespace.yaml
- ./app

View File

@ -2,19 +2,19 @@
kind: Deployment
apiVersion: apps/v1
metadata:
name: kipunji-memcached
name: toy-memcached
spec:
selector:
matchLabels:
app: kipunji-memcached
app: toy-memcached
template:
metadata:
labels:
app: kipunji-memcached
app: toy-memcached
spec:
containers:
- name: kipunji-memcached
- name: toy-memcached
image: memcached:latest
ports:
- name: memcached

View File

@ -1,7 +1,7 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: kipunji
namespace: toy
resources:
- deployment.yaml
- services.yaml

View File

@ -2,7 +2,7 @@
apiVersion: v1
kind: Service
metadata:
name: kipunji-memcached
name: toy-memcached
spec:
ports:
@ -10,4 +10,4 @@ spec:
port: 11211
targetPort: memcached
selector:
app: kipunji-memcached
app: toy-memcached

View File

@ -2,5 +2,5 @@
apiVersion: v1
kind: Namespace
metadata:
name: kipunji
name: toy