Skip to content

Commit

Permalink
revert manifests
Browse files Browse the repository at this point in the history
  • Loading branch information
pasha-codefresh committed Nov 28, 2023
1 parent e2cc015 commit f912805
Showing 1 changed file with 0 additions and 276 deletions.
276 changes: 0 additions & 276 deletions manifests/install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18859,15 +18859,6 @@ metadata:
app.kubernetes.io/part-of: argocd
name: argocd-server
---
apiVersion: v1
kind: ServiceAccount
metadata:
labels:
app.kubernetes.io/component: event-reporter
app.kubernetes.io/name: event-reporter
app.kubernetes.io/part-of: argocd
name: event-reporter
---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
Expand Down Expand Up @@ -19037,50 +19028,6 @@ rules:
- list
---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
labels:
app.kubernetes.io/component: event-reporter
app.kubernetes.io/name: event-reporter
app.kubernetes.io/part-of: argocd
name: event-reporter
rules:
- apiGroups:
- ""
resources:
- secrets
- configmaps
verbs:
- create
- get
- list
- watch
- update
- patch
- delete
- apiGroups:
- argoproj.io
resources:
- applications
- appprojects
- applicationsets
verbs:
- create
- get
- list
- watch
- update
- delete
- patch
- apiGroups:
- ""
resources:
- events
verbs:
- create
- list
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
labels:
Expand Down Expand Up @@ -19204,22 +19151,6 @@ subjects:
name: argocd-server
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
labels:
app.kubernetes.io/component: event-reporter
app.kubernetes.io/name: event-reporter
app.kubernetes.io/part-of: argocd
name: event-reporter
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: event-reporter
subjects:
- kind: ServiceAccount
name: event-reporter
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
labels:
Expand Down Expand Up @@ -19465,44 +19396,6 @@ spec:
selector:
app.kubernetes.io/name: argocd-server
---
apiVersion: v1
kind: Service
metadata:
labels:
app.kubernetes.io/component: event-reporter
app.kubernetes.io/name: event-reporter
app.kubernetes.io/part-of: argocd
name: event-reporter
spec:
ports:
- name: http
port: 80
protocol: TCP
targetPort: 8088
- name: https
port: 443
protocol: TCP
targetPort: 8088
selector:
app.kubernetes.io/name: event-reporter
---
apiVersion: v1
kind: Service
metadata:
labels:
app.kubernetes.io/component: event-reporter
app.kubernetes.io/name: event-reporter-metrics
app.kubernetes.io/part-of: argocd
name: event-reporter-metrics
spec:
ports:
- name: metrics
port: 8087
protocol: TCP
targetPort: 8087
selector:
app.kubernetes.io/name: event-reporter
---
apiVersion: apps/v1
kind: Deployment
metadata:
Expand Down Expand Up @@ -20655,175 +20548,6 @@ spec:
optional: true
secretName: argocd-repo-server-tls
---
apiVersion: apps/v1
kind: StatefulSet
metadata:
labels:
app.kubernetes.io/component: event-reporter
app.kubernetes.io/name: event-reporter
app.kubernetes.io/part-of: argocd
name: event-reporter
spec:
replicas: 5
selector:
matchLabels:
app.kubernetes.io/name: event-reporter
serviceName: event-reporter
template:
metadata:
labels:
app.kubernetes.io/name: event-reporter
spec:
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- podAffinityTerm:
labelSelector:
matchLabels:
app.kubernetes.io/name: event-reporter
topologyKey: kubernetes.io/hostname
weight: 100
- podAffinityTerm:
labelSelector:
matchLabels:
app.kubernetes.io/part-of: argocd
topologyKey: kubernetes.io/hostname
weight: 5
containers:
- args:
- /usr/local/bin/event-reporter-server
env:
- name: EVENT_REPORTER_REPLICAS
value: "5"
- name: ARGOCD_TOKEN
valueFrom:
secretKeyRef:
key: token
name: argocd-token
- name: CODEFRESH_URL
valueFrom:
configMapKeyRef:
key: base-url
name: codefresh-cm
optional: true
- name: CODEFRESH_TOKEN
valueFrom:
secretKeyRef:
key: token
name: codefresh-token
- name: EVENT_REPORTER_INSECURE
valueFrom:
configMapKeyRef:
key: event-reporter.insecure
name: argocd-cmd-params-cm
optional: true
- name: EVENT_REPORTER_LOGFORMAT
valueFrom:
configMapKeyRef:
key: event-reporter.log.format
name: argocd-cmd-params-cm
optional: true
- name: EVENT_REPORTER_LOG_LEVEL
valueFrom:
configMapKeyRef:
key: event-reporter.log.level
name: argocd-cmd-params-cm
optional: true
- name: EVENT_REPORTER_REPO_SERVER
valueFrom:
configMapKeyRef:
key: repo.server
name: argocd-cmd-params-cm
optional: true
- name: EVENT_REPORTER_REPO_SERVER_TIMEOUT_SECONDS
valueFrom:
configMapKeyRef:
key: event-reporter.repo.server.timeout.seconds
name: argocd-cmd-params-cm
optional: true
- name: EVENT_REPORTER_REPO_SERVER_PLAINTEXT
valueFrom:
configMapKeyRef:
key: event-reporter.repo.server.plaintext
name: argocd-cmd-params-cm
optional: true
- name: REDIS_SERVER
valueFrom:
configMapKeyRef:
key: redis.server
name: argocd-cmd-params-cm
optional: true
- name: REDISDB
valueFrom:
configMapKeyRef:
key: redis.db
name: argocd-cmd-params-cm
optional: true
- name: EVENT_REPORTER_LISTEN_ADDRESS
valueFrom:
configMapKeyRef:
key: event-reporter.listen.address
name: argocd-cmd-params-cm
optional: true
- name: EVENT_REPORTER_METRICS_LISTEN_ADDRESS
valueFrom:
configMapKeyRef:
key: event-reporter.metrics.listen.address
name: argocd-cmd-params-cm
optional: true
image: quay.io/codefresh/argocd:latest
imagePullPolicy: Always
livenessProbe:
httpGet:
path: /healthz?full=true
port: health
initialDelaySeconds: 3
periodSeconds: 30
timeoutSeconds: 5
name: event-reporter
ports:
- containerPort: 8088
name: health
- containerPort: 8087
name: metrics
readinessProbe:
httpGet:
path: /healthz
port: health
initialDelaySeconds: 3
periodSeconds: 30
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
readOnlyRootFilesystem: true
runAsNonRoot: true
seccompProfile:
type: RuntimeDefault
volumeMounts:
- mountPath: /app/config/server/tls
name: argocd-repo-server-tls
- mountPath: /tmp
name: tmp
serviceAccountName: event-reporter
volumes:
- emptyDir: {}
name: plugins-home
- emptyDir: {}
name: tmp
- name: argocd-repo-server-tls
secret:
items:
- key: tls.crt
path: tls.crt
- key: tls.key
path: tls.key
- key: ca.crt
path: ca.crt
optional: true
secretName: argocd-repo-server-tls
---
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
Expand Down

0 comments on commit f912805

Please sign in to comment.