Add kubernetes-replicator
This commit is contained in:
parent
e44e15c7cf
commit
6e20cea9f8
|
@ -0,0 +1,59 @@
|
|||
---
|
||||
# Source: kubernetes-replicator/templates/deployment.yaml
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: kubernetes-replicator
|
||||
labels:
|
||||
helm.sh/chart: kubernetes-replicator-2.7.3
|
||||
app.kubernetes.io/name: kubernetes-replicator
|
||||
app.kubernetes.io/instance: kubernetes-replicator
|
||||
app.kubernetes.io/version: "v2.7.3"
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: kubernetes-replicator
|
||||
app.kubernetes.io/instance: kubernetes-replicator
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/name: kubernetes-replicator
|
||||
app.kubernetes.io/instance: kubernetes-replicator
|
||||
spec:
|
||||
serviceAccountName: kubernetes-replicator
|
||||
securityContext:
|
||||
{}
|
||||
containers:
|
||||
- name: kubernetes-replicator
|
||||
securityContext:
|
||||
{}
|
||||
image: "quay.io/mittwald/kubernetes-replicator:v2.7.3"
|
||||
imagePullPolicy: Always
|
||||
args:
|
||||
[]
|
||||
ports:
|
||||
- name: health
|
||||
containerPort: 9102
|
||||
protocol: TCP
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /healthz
|
||||
port: health
|
||||
initialDelaySeconds: 60
|
||||
periodSeconds: 10
|
||||
timeoutSeconds: 1
|
||||
successThreshold: 1
|
||||
failureThreshold: 3
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /healthz
|
||||
port: health
|
||||
initialDelaySeconds: 60
|
||||
periodSeconds: 10
|
||||
timeoutSeconds: 1
|
||||
successThreshold: 1
|
||||
failureThreshold: 3
|
||||
resources:
|
||||
{}
|
|
@ -0,0 +1,54 @@
|
|||
---
|
||||
# Source: kubernetes-replicator/templates/rbac.yaml
|
||||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: kubernetes-replicator
|
||||
labels:
|
||||
helm.sh/chart: kubernetes-replicator-2.7.3
|
||||
app.kubernetes.io/name: kubernetes-replicator
|
||||
app.kubernetes.io/instance: kubernetes-replicator
|
||||
app.kubernetes.io/version: "v2.7.3"
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
---
|
||||
# Source: kubernetes-replicator/templates/rbac.yaml
|
||||
kind: ClusterRole
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
metadata:
|
||||
name: kubernetes-replicator
|
||||
labels:
|
||||
helm.sh/chart: kubernetes-replicator-2.7.3
|
||||
app.kubernetes.io/name: kubernetes-replicator
|
||||
app.kubernetes.io/instance: kubernetes-replicator
|
||||
app.kubernetes.io/version: "v2.7.3"
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
rules:
|
||||
- apiGroups: [ "" ]
|
||||
resources: [ "namespaces" ]
|
||||
verbs: [ "get", "watch", "list" ]
|
||||
- apiGroups: [""]
|
||||
resources: ["secrets", "configmaps"]
|
||||
verbs: ["get", "watch", "list", "create", "update", "patch", "delete"]
|
||||
- apiGroups: ["rbac.authorization.k8s.io"]
|
||||
resources: ["roles", "rolebindings"]
|
||||
verbs: ["get", "watch", "list", "create", "update", "patch", "delete"]
|
||||
---
|
||||
# Source: kubernetes-replicator/templates/rbac.yaml
|
||||
kind: ClusterRoleBinding
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
metadata:
|
||||
name: kubernetes-replicator
|
||||
labels:
|
||||
helm.sh/chart: kubernetes-replicator-2.7.3
|
||||
app.kubernetes.io/name: kubernetes-replicator
|
||||
app.kubernetes.io/instance: kubernetes-replicator
|
||||
app.kubernetes.io/version: "v2.7.3"
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
roleRef:
|
||||
kind: ClusterRole
|
||||
name: kubernetes-replicator
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: kubernetes-replicator
|
||||
namespace: "default"
|
|
@ -69,6 +69,9 @@ resources:
|
|||
- inflated/grafana/templates/podsecuritypolicy.yaml
|
||||
- inflated/grafana/templates/configmap.yaml
|
||||
- inflated/grafana/templates/clusterrolebinding.yaml
|
||||
# kubernetes-replicator
|
||||
- inflated/kubernetes-replicator/templates/deployment.yaml
|
||||
- inflated/kubernetes-replicator/templates/rbac.yaml
|
||||
|
||||
- ingress.yaml
|
||||
|
||||
|
|
Loading…
Reference in New Issue