synapse-admin initial commit
This commit is contained in:
6
synapse-admin/kustomization.yaml
Normal file
6
synapse-admin/kustomization.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
resources:
|
||||
- main.yaml
|
||||
97
synapse-admin/main.yaml
Normal file
97
synapse-admin/main.yaml
Normal file
@@ -0,0 +1,97 @@
|
||||
apiVersion: v1
|
||||
automountServiceAccountToken: true
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/instance: synapse-admin
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: synapse-admin
|
||||
app.kubernetes.io/version: 0.11.1
|
||||
helm.sh/chart: synapse-admin-0.1.3
|
||||
name: synapse-admin
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/instance: synapse-admin
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: synapse-admin
|
||||
app.kubernetes.io/version: 0.11.1
|
||||
helm.sh/chart: synapse-admin-0.1.3
|
||||
name: synapse-admin
|
||||
spec:
|
||||
ports:
|
||||
- name: http
|
||||
port: 80
|
||||
protocol: TCP
|
||||
targetPort: http
|
||||
selector:
|
||||
app.kubernetes.io/instance: synapse-admin
|
||||
app.kubernetes.io/name: synapse-admin
|
||||
type: ClusterIP
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/instance: synapse-admin
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: synapse-admin
|
||||
app.kubernetes.io/version: 0.11.1
|
||||
helm.sh/chart: synapse-admin-0.1.3
|
||||
name: synapse-admin
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/instance: synapse-admin
|
||||
app.kubernetes.io/name: synapse-admin
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/instance: synapse-admin
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: synapse-admin
|
||||
app.kubernetes.io/version: 0.11.1
|
||||
helm.sh/chart: synapse-admin-0.1.3
|
||||
spec:
|
||||
containers:
|
||||
- image: docker.io/awesometechnologies/synapse-admin:0.11.1
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: synapse-admin
|
||||
ports:
|
||||
- containerPort: 80
|
||||
name: http
|
||||
protocol: TCP
|
||||
resources:
|
||||
limits:
|
||||
memory: 128Mi
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 128Mi
|
||||
securityContext: null
|
||||
securityContext: null
|
||||
serviceAccountName: synapse-admin
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Pod
|
||||
metadata:
|
||||
annotations:
|
||||
helm.sh/hook: test
|
||||
labels:
|
||||
app.kubernetes.io/instance: synapse-admin
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: synapse-admin
|
||||
app.kubernetes.io/version: 0.11.1
|
||||
helm.sh/chart: synapse-admin-0.1.3
|
||||
name: synapse-admin-test-connection
|
||||
spec:
|
||||
containers:
|
||||
- args:
|
||||
- synapse-admin:80
|
||||
command:
|
||||
- wget
|
||||
image: busybox
|
||||
name: wget
|
||||
restartPolicy: Never
|
||||
12
synapse-admin/src/kustomization.yaml
Normal file
12
synapse-admin/src/kustomization.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
helmCharts:
|
||||
- name: synapse-admin
|
||||
repo: https://charts.schoenwald.aero
|
||||
version: 0.1.3
|
||||
releaseName: synapse-admin
|
||||
includeCRDs: true
|
||||
namespace: synapse-admin
|
||||
valuesFile: values.yaml
|
||||
87
synapse-admin/src/values.yaml
Normal file
87
synapse-admin/src/values.yaml
Normal file
@@ -0,0 +1,87 @@
|
||||
# Default values for synapse-admin.
|
||||
# This is a YAML-formatted file.
|
||||
# Declare variables to be passed into your templates.
|
||||
|
||||
replicaCount: 1
|
||||
|
||||
image:
|
||||
registry: docker.io
|
||||
repository: awesometechnologies/synapse-admin
|
||||
pullPolicy: IfNotPresent
|
||||
# Overrides the image tag whose default is the chart appVersion.
|
||||
tag: ""
|
||||
|
||||
imagePullSecrets: []
|
||||
nameOverride: ""
|
||||
fullnameOverride: ""
|
||||
|
||||
serviceAccount:
|
||||
# Specifies whether a service account should be created
|
||||
create: true
|
||||
# Automatically mount a ServiceAccount's API credentials?
|
||||
automount: true
|
||||
# Annotations to add to the service account
|
||||
annotations: {}
|
||||
# The name of the service account to use.
|
||||
# If not set and create is true, a name is generated using the fullname template
|
||||
name: ""
|
||||
|
||||
podAnnotations: {}
|
||||
podLabels: {}
|
||||
|
||||
podSecurityContext:
|
||||
# fsGroup: 1000
|
||||
|
||||
securityContext:
|
||||
# capabilities:
|
||||
# drop:
|
||||
# - ALL
|
||||
# readOnlyRootFilesystem: true
|
||||
# runAsNonRoot: true
|
||||
# runAsUser: 1000
|
||||
|
||||
service:
|
||||
type: ClusterIP
|
||||
port: 80
|
||||
|
||||
ingress:
|
||||
enabled: false
|
||||
className: ""
|
||||
annotations: {}
|
||||
# kubernetes.io/ingress.class: nginx
|
||||
# kubernetes.io/tls-acme: "true"
|
||||
hosts:
|
||||
- host: chart-example.local
|
||||
paths:
|
||||
- path: /
|
||||
pathType: ImplementationSpecific
|
||||
tls: []
|
||||
# - secretName: chart-example-tls
|
||||
# hosts:
|
||||
# - chart-example.local
|
||||
|
||||
resources:
|
||||
limits:
|
||||
memory: 128Mi
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 128Mi
|
||||
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
port: http
|
||||
failureThreshold: 3
|
||||
periodSeconds: 10
|
||||
readinessProbe:
|
||||
tcpSocket:
|
||||
port: 80
|
||||
initialDelaySeconds: 15
|
||||
periodSeconds: 10
|
||||
|
||||
nodeSelector: {}
|
||||
|
||||
tolerations: []
|
||||
|
||||
affinity: {}
|
||||
|
||||
Reference in New Issue
Block a user