rm goldilocks
This commit is contained in:
parent
a05f2b0595
commit
469bb12d2c
|
@ -1,23 +0,0 @@
|
|||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: goldilocks
|
||||
namespace: argocd
|
||||
finalizers:
|
||||
- resources-finalizer.argocd.argoproj.io
|
||||
spec:
|
||||
destination:
|
||||
namespace: goldilocks
|
||||
server: https://kubernetes.default.svc
|
||||
project: system
|
||||
source:
|
||||
path: goldilocks
|
||||
repoURL: https://git.tbrnt.ch/tobru/gitops-tbrnt.git
|
||||
targetRevision: HEAD
|
||||
directory:
|
||||
recurse: true
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: goldilocks
|
|
@ -1,34 +0,0 @@
|
|||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1beta1
|
||||
kind: ClusterRole
|
||||
metadata:
|
||||
name: goldilocks-controller
|
||||
labels:
|
||||
app: goldilocks
|
||||
rules:
|
||||
- apiGroups:
|
||||
- 'apps'
|
||||
resources:
|
||||
- 'deployments'
|
||||
verbs:
|
||||
- 'get'
|
||||
- 'list'
|
||||
- 'watch'
|
||||
- apiGroups:
|
||||
- ''
|
||||
resources:
|
||||
- 'namespaces'
|
||||
- 'pods'
|
||||
verbs:
|
||||
- 'get'
|
||||
- 'list'
|
||||
- 'watch'
|
||||
- apiGroups:
|
||||
- 'autoscaling.k8s.io'
|
||||
resources:
|
||||
- 'verticalpodautoscalers'
|
||||
verbs:
|
||||
- 'get'
|
||||
- 'list'
|
||||
- 'create'
|
||||
- 'delete'
|
|
@ -1,15 +0,0 @@
|
|||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1beta1
|
||||
kind: ClusterRoleBinding
|
||||
metadata:
|
||||
name: goldilocks-controller
|
||||
labels:
|
||||
app: goldilocks
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: ClusterRole
|
||||
name: goldilocks-controller
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: goldilocks-controller
|
||||
namespace: goldilocks
|
|
@ -1,47 +0,0 @@
|
|||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: goldilocks-controller
|
||||
labels:
|
||||
app.kubernetes.io/name: goldilocks
|
||||
app.kubernetes.io/component: controller
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: goldilocks
|
||||
app.kubernetes.io/component: controller
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/name: goldilocks
|
||||
app.kubernetes.io/component: controller
|
||||
spec:
|
||||
serviceAccountName: goldilocks-controller
|
||||
containers:
|
||||
- name: goldilocks
|
||||
image: "quay.io/fairwinds/goldilocks:master"
|
||||
imagePullPolicy: Always
|
||||
command:
|
||||
- /goldilocks
|
||||
- controller
|
||||
securityContext:
|
||||
readOnlyRootFilesystem: true
|
||||
allowPrivilegeEscalation: false
|
||||
runAsNonRoot: true
|
||||
runAsUser: 10324
|
||||
capabilities:
|
||||
drop:
|
||||
- ALL
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 8080
|
||||
protocol: TCP
|
||||
resources:
|
||||
requests:
|
||||
cpu: 25m
|
||||
memory: 32Mi
|
||||
limits:
|
||||
cpu: 25m
|
||||
memory: 32Mi
|
|
@ -1,6 +0,0 @@
|
|||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: goldilocks-controller
|
||||
labels:
|
||||
app: goldilocks
|
|
@ -1,22 +0,0 @@
|
|||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1beta1
|
||||
kind: ClusterRole
|
||||
metadata:
|
||||
name: goldilocks-dashboard
|
||||
labels:
|
||||
app: goldilocks
|
||||
rules:
|
||||
- apiGroups:
|
||||
- 'autoscaling.k8s.io'
|
||||
resources:
|
||||
- 'verticalpodautoscalers'
|
||||
verbs:
|
||||
- 'get'
|
||||
- 'list'
|
||||
- apiGroups:
|
||||
- 'apps'
|
||||
resources:
|
||||
- 'deployments'
|
||||
verbs:
|
||||
- 'get'
|
||||
- 'list'
|
|
@ -1,15 +0,0 @@
|
|||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1beta1
|
||||
kind: ClusterRoleBinding
|
||||
metadata:
|
||||
name: goldilocks-dashboard
|
||||
labels:
|
||||
app: goldilocks
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: ClusterRole
|
||||
name: goldilocks-dashboard
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: goldilocks-dashboard
|
||||
namespace: goldilocks
|
|
@ -1,57 +0,0 @@
|
|||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: goldilocks-dashboard
|
||||
labels:
|
||||
app.kubernetes.io/name: goldilocks
|
||||
app.kubernetes.io/component: dashboard
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: goldilocks
|
||||
app.kubernetes.io/component: dashboard
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/name: goldilocks
|
||||
app.kubernetes.io/component: dashboard
|
||||
spec:
|
||||
serviceAccountName: goldilocks-dashboard
|
||||
containers:
|
||||
- name: goldilocks
|
||||
image: "quay.io/fairwinds/goldilocks:master"
|
||||
imagePullPolicy: Always
|
||||
command:
|
||||
- /goldilocks
|
||||
- dashboard
|
||||
- --exclude-containers=linkerd-proxy,istio-proxy
|
||||
- -v3
|
||||
securityContext:
|
||||
readOnlyRootFilesystem: true
|
||||
allowPrivilegeEscalation: false
|
||||
runAsNonRoot: true
|
||||
runAsUser: 10324
|
||||
capabilities:
|
||||
drop:
|
||||
- ALL
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 8080
|
||||
protocol: TCP
|
||||
resources:
|
||||
requests:
|
||||
cpu: 25m
|
||||
memory: 32Mi
|
||||
limits:
|
||||
cpu: 25m
|
||||
memory: 32Mi
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /health
|
||||
port: http
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /health
|
||||
port: http
|
|
@ -1,18 +0,0 @@
|
|||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: goldilocks-dashboard
|
||||
labels:
|
||||
app.kubernetes.io/name: goldilocks
|
||||
app.kubernetes.io/component: dashboard
|
||||
spec:
|
||||
type: ClusterIP
|
||||
ports:
|
||||
- port: 80
|
||||
targetPort: http
|
||||
protocol: TCP
|
||||
name: http
|
||||
selector:
|
||||
app.kubernetes.io/name: goldilocks
|
||||
app.kubernetes.io/component: dashboard
|
|
@ -1,6 +0,0 @@
|
|||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: goldilocks-dashboard
|
||||
labels:
|
||||
app: goldilocks
|
Reference in New Issue