imfreedom/k8s-cluster
Clone
Summary
Browse
Changes
Graph
Redirect some stuff that pidgin links to. Fixes NEST-21
2020-01-21, Gary Kramlich
ad9548cab441
Redirect some stuff that pidgin links to. Fixes NEST-21
---
apiVersion
:
extensions/v1beta1
kind
:
Ingress
metadata
:
namespace
:
pidgin
name
:
gaim
annotations
:
cert-manager.io/issuer
:
letsencrypt
nginx.ingress.kubernetes.io/configuration-snippet
:
|
more_set_headers "X-Frame-Options: SAMEORIGIN";
labels
:
app
:
gaim
spec
:
rules
:
-
host
:
gaim.pidgin.im
http
:
paths
:
-
backend
:
serviceName
:
gaim
servicePort
:
80
path
:
/
tls
:
-
hosts
:
-
gaim.pidgin.im
secretName
:
gaim-tls
---
apiVersion
:
cert-manager.io/v1alpha2
kind
:
Certificate
metadata
:
namespace
:
pidgin
name
:
gaim
spec
:
secretName
:
gaim-tls
issuerRef
:
name
:
letsencrypt
commonName
:
gaim.pidgin.im
dnsNames
:
-
gaim.pidgin.im
---
apiVersion
:
v1
kind
:
Service
metadata
:
namespace
:
pidgin
name
:
gaim
labels
:
app
:
gaim
spec
:
ports
:
-
port
:
80
protocol
:
TCP
selector
:
app
:
gaim
---
apiVersion
:
networking.k8s.io/v1
kind
:
NetworkPolicy
metadata
:
namespace
:
pidgin
name
:
gaim
labels
:
app
:
gaim
spec
:
podSelector
:
matchLabels
:
app
:
gaim
ingress
:
-
from
:
-
namespaceSelector
:
matchLabels
:
name
:
kube-public
podSelector
:
matchLabels
:
app
:
ingress
role
:
controller
ports
:
-
port
:
80
protocol
:
TCP
---
apiVersion
:
apps/v1
kind
:
Deployment
metadata
:
namespace
:
pidgin
name
:
gaim
labels
:
app
:
gaim
spec
:
replicas
:
2
selector
:
matchLabels
:
app
:
gaim
template
:
metadata
:
labels
:
app
:
gaim
spec
:
affinity
:
podAntiAffinity
:
preferredDuringSchedulingIgnoredDuringExecution
:
-
podAffinityTerm
:
labelSelector
:
matchExpressions
:
-
key
:
app
operator
:
In
values
:
-
gaim
topologyKey
:
failure-domain.beta.kubernetes.io/region
weight
:
100
containers
:
-
name
:
gaim
image
:
rwgrim/gaim-www:latest
imagePullPolicy
:
Always
ports
:
-
containerPort
:
80
name
:
http
resources
:
limits
:
cpu
:
50m
memory
:
96Mi
requests
:
cpu
:
10m
memory
:
64Mi
---