From 9e82a7da799d2501391a7419863f47e12f056a5b Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Fri, 16 Sep 2022 21:11:58 +0200 Subject: [PATCH] argocd notifications now part of the app --- argocd/argocd-notifications.yaml | 108 ------------------------------- 1 file changed, 108 deletions(-) delete mode 100644 argocd/argocd-notifications.yaml diff --git a/argocd/argocd-notifications.yaml b/argocd/argocd-notifications.yaml deleted file mode 100644 index 3f92868..0000000 --- a/argocd/argocd-notifications.yaml +++ /dev/null @@ -1,108 +0,0 @@ -apiVersion: v1 -kind: ServiceAccount -metadata: - name: argocd-notifications-controller ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: Role -metadata: - name: argocd-notifications-controller -rules: -- apiGroups: - - argoproj.io - resources: - - applications - - appprojects - verbs: - - get - - list - - watch - - update - - patch -- apiGroups: - - "" - resourceNames: - - argocd-notifications-cm - resources: - - configmaps - verbs: - - get - - list - - watch -- apiGroups: - - "" - resourceNames: - - argocd-notifications-secret - resources: - - secrets - verbs: - - get - - list - - watch ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: RoleBinding -metadata: - name: argocd-notifications-controller -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: Role - name: argocd-notifications-controller -subjects: -- kind: ServiceAccount - name: argocd-notifications-controller ---- -apiVersion: v1 -kind: Secret -metadata: - name: argocd-notifications-secret -type: Opaque ---- -apiVersion: v1 -kind: Service -metadata: - labels: - app.kubernetes.io/name: argocd-notifications-controller-metrics - name: argocd-notifications-controller-metrics -spec: - ports: - - name: metrics - port: 9001 - protocol: TCP - targetPort: 9001 - selector: - app.kubernetes.io/name: argocd-notifications-controller ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: argocd-notifications-controller -spec: - selector: - matchLabels: - app.kubernetes.io/name: argocd-notifications-controller - strategy: - type: Recreate - template: - metadata: - labels: - app.kubernetes.io/name: argocd-notifications-controller - spec: - containers: - - command: - - /app/argocd-notifications-backend - - controller - image: argoprojlabs/argocd-notifications:v1.2.1 - imagePullPolicy: Always - name: argocd-notifications-controller - volumeMounts: - - mountPath: /app/config/tls - name: tls-certs - workingDir: /app - securityContext: - runAsNonRoot: true - serviceAccountName: argocd-notifications-controller - volumes: - - configMap: - name: argocd-tls-certs-cm - name: tls-certs