--- apiVersion: apiextensions.k8s.io/v1beta1 kind: CustomResourceDefinition metadata: annotations: airshipit.org/clustertype: target name: workflows.argoproj.io spec: group: argoproj.io names: kind: Workflow plural: workflows shortNames: - wf scope: Namespaced version: v1alpha1 --- apiVersion: v1 kind: ServiceAccount metadata: annotations: airshipit.org/clustertype: target name: argo-ui --- apiVersion: v1 kind: ServiceAccount metadata: annotations: airshipit.org/clustertype: target name: argo --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: annotations: airshipit.org/clustertype: target labels: rbac.authorization.k8s.io/aggregate-to-admin: "true" name: argo-aggregate-to-admin rules: - apiGroups: - argoproj.io resources: - workflows - workflows/finalizers verbs: - create - delete - deletecollection - get - list - patch - update - watch --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: annotations: airshipit.org/clustertype: target labels: rbac.authorization.k8s.io/aggregate-to-edit: "true" name: argo-aggregate-to-edit rules: - apiGroups: - argoproj.io resources: - workflows - workflows/finalizers verbs: - create - delete - deletecollection - get - list - patch - update - watch --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: annotations: airshipit.org/clustertype: target labels: rbac.authorization.k8s.io/aggregate-to-view: "true" name: argo-aggregate-to-view rules: - apiGroups: - argoproj.io resources: - workflows - workflows/finalizers verbs: - get - list - watch --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: annotations: airshipit.org/clustertype: target name: argo-cluster-role rules: - apiGroups: - "" resources: - pods - pods/exec verbs: - create - get - list - watch - update - patch - delete - apiGroups: - "" resources: - configmaps verbs: - get - watch - list - apiGroups: - "" resources: - persistentvolumeclaims verbs: - create - delete - apiGroups: - argoproj.io resources: - workflows - workflows/finalizers verbs: - get - list - watch - update - patch - delete --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: annotations: airshipit.org/clustertype: target name: argo-ui-cluster-role rules: - apiGroups: - "" resources: - pods - pods/exec - pods/log verbs: - get - list - watch - apiGroups: - "" resources: - secrets verbs: - get - apiGroups: - argoproj.io resources: - workflows verbs: - get - list - watch --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: annotations: airshipit.org/clustertype: target name: argo-binding roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole name: argo-cluster-role subjects: - kind: ServiceAccount name: argo namespace: argo --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: annotations: airshipit.org/clustertype: target name: argo-ui-binding roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole name: argo-ui-cluster-role subjects: - kind: ServiceAccount name: argo-ui namespace: argo --- apiVersion: v1 kind: ConfigMap metadata: annotations: airshipit.org/clustertype: target name: workflow-controller-configmap --- apiVersion: v1 kind: Service metadata: annotations: airshipit.org/clustertype: target name: argo-ui spec: ports: - port: 80 targetPort: 8001 selector: app: argo-ui --- apiVersion: apps/v1 kind: Deployment metadata: annotations: airshipit.org/clustertype: target airshipit.org/random-payload: random name: argo-ui spec: selector: matchLabels: app: argo-ui template: metadata: labels: app: argo-ui spec: containers: - env: - name: ARGO_NAMESPACE valueFrom: fieldRef: apiVersion: v1 fieldPath: metadata.namespace - name: IN_CLUSTER value: "true" - name: ENABLE_WEB_CONSOLE value: "false" - name: BASE_HREF value: / image: argoproj/argoui:v2.3.0 name: argo-ui serviceAccountName: argo-ui --- apiVersion: apps/v1 kind: Deployment metadata: annotations: airshipit.org/clustertype: target labels: app: workflow-controller arbitrary-label: some-label name: workflow-controller spec: selector: matchLabels: app: workflow-controller template: metadata: labels: app: workflow-controller spec: containers: - args: - --configmap - workflow-controller-configmap - --executor-image - argoproj/argoexec:v2.3.0 command: - workflow-controller image: argoproj/workflow-controller:v2.3.0 name: workflow-controller serviceAccountName: argo ...