From 1ea1fbc5637be6fa06e2a4b5ac985b34371c6cfb Mon Sep 17 00:00:00 2001 From: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> Date: Wed, 24 Jan 2024 14:45:09 -0500 Subject: [PATCH] fix(server): allow disabling content-type check (#16959) * fix(server): allow disabling content-type check Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> * fix spacing Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> --------- Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> --- manifests/ha/install.yaml | 121 +--------------------------- manifests/ha/namespace-install.yaml | 2 +- manifests/install.yaml | 121 +--------------------------- manifests/namespace-install.yaml | 2 +- 4 files changed, 4 insertions(+), 242 deletions(-) diff --git a/manifests/ha/install.yaml b/manifests/ha/install.yaml index 16bce3c7f0e09..473099aabe4fb 100644 --- a/manifests/ha/install.yaml +++ b/manifests/ha/install.yaml @@ -1726,19 +1726,6 @@ spec: description: ID is an auto incrementing identifier of the RevisionHistory format: int64 type: integer - initiatedBy: - description: InitiatedBy contains information about who initiated - the operations - properties: - automated: - description: Automated is set to true if operation was initiated - automatically by the application controller. - type: boolean - username: - description: Username contains the name of a user who started - operation - type: string - type: object revision: description: Revision holds the revision the sync was performed against @@ -20868,95 +20855,6 @@ rules: --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole -metadata: - labels: - app.kubernetes.io/component: applicationset-controller - app.kubernetes.io/name: argocd-applicationset-controller - app.kubernetes.io/part-of: argocd - name: argocd-applicationset-controller -rules: -- apiGroups: - - argoproj.io - resources: - - applications - - applicationsets - - applicationsets/finalizers - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - argoproj.io - resources: - - applicationsets/status - verbs: - - get - - patch - - update -- apiGroups: - - argoproj.io - resources: - - appprojects - verbs: - - get -- apiGroups: - - "" - resources: - - events - verbs: - - create - - get - - list - - patch - - watch -- apiGroups: - - "" - resources: - - configmaps - verbs: - - create - - update - - delete - - get - - list - - patch - - watch -- apiGroups: - - "" - resources: - - secrets - verbs: - - get - - list - - watch -- apiGroups: - - apps - - extensions - resources: - - deployments - verbs: - - get - - list - - watch -- apiGroups: - - coordination.k8s.io - resources: - - leases - verbs: - - create - - delete - - get - - list - - patch - - update - - watch ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRole metadata: labels: app.kubernetes.io/component: server @@ -21138,23 +21036,6 @@ subjects: --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding -metadata: - labels: - app.kubernetes.io/component: applicationset-controller - app.kubernetes.io/name: argocd-applicationset-controller - app.kubernetes.io/part-of: argocd - name: argocd-applicationset-controller -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: ClusterRole - name: argocd-applicationset-controller -subjects: -- kind: ServiceAccount - name: argocd-applicationset-controller - namespace: argocd ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRoleBinding metadata: labels: app.kubernetes.io/component: server @@ -24079,4 +23960,4 @@ spec: matchLabels: app.kubernetes.io/name: argocd-server policyTypes: - - Ingress + - Ingress \ No newline at end of file diff --git a/manifests/ha/namespace-install.yaml b/manifests/ha/namespace-install.yaml index 5d86406bb4922..a4a3727f234b9 100644 --- a/manifests/ha/namespace-install.yaml +++ b/manifests/ha/namespace-install.yaml @@ -3345,4 +3345,4 @@ spec: matchLabels: app.kubernetes.io/name: argocd-server policyTypes: - - Ingress + - Ingress \ No newline at end of file diff --git a/manifests/install.yaml b/manifests/install.yaml index b12207360e505..7ea113560edfa 100644 --- a/manifests/install.yaml +++ b/manifests/install.yaml @@ -1726,19 +1726,6 @@ spec: description: ID is an auto incrementing identifier of the RevisionHistory format: int64 type: integer - initiatedBy: - description: InitiatedBy contains information about who initiated - the operations - properties: - automated: - description: Automated is set to true if operation was initiated - automatically by the application controller. - type: boolean - username: - description: Username contains the name of a user who started - operation - type: string - type: object revision: description: Revision holds the revision the sync was performed against @@ -20827,95 +20814,6 @@ rules: --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole -metadata: - labels: - app.kubernetes.io/component: applicationset-controller - app.kubernetes.io/name: argocd-applicationset-controller - app.kubernetes.io/part-of: argocd - name: argocd-applicationset-controller -rules: -- apiGroups: - - argoproj.io - resources: - - applications - - applicationsets - - applicationsets/finalizers - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - argoproj.io - resources: - - applicationsets/status - verbs: - - get - - patch - - update -- apiGroups: - - argoproj.io - resources: - - appprojects - verbs: - - get -- apiGroups: - - "" - resources: - - events - verbs: - - create - - get - - list - - patch - - watch -- apiGroups: - - "" - resources: - - configmaps - verbs: - - create - - update - - delete - - get - - list - - patch - - watch -- apiGroups: - - "" - resources: - - secrets - verbs: - - get - - list - - watch -- apiGroups: - - apps - - extensions - resources: - - deployments - verbs: - - get - - list - - watch -- apiGroups: - - coordination.k8s.io - resources: - - leases - verbs: - - create - - delete - - get - - list - - patch - - update - - watch ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRole metadata: labels: app.kubernetes.io/component: server @@ -21065,23 +20963,6 @@ subjects: --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding -metadata: - labels: - app.kubernetes.io/component: applicationset-controller - app.kubernetes.io/name: argocd-applicationset-controller - app.kubernetes.io/part-of: argocd - name: argocd-applicationset-controller -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: ClusterRole - name: argocd-applicationset-controller -subjects: -- kind: ServiceAccount - name: argocd-applicationset-controller - namespace: argocd ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRoleBinding metadata: labels: app.kubernetes.io/component: server @@ -22864,4 +22745,4 @@ spec: matchLabels: app.kubernetes.io/name: argocd-server policyTypes: - - Ingress + - Ingress \ No newline at end of file diff --git a/manifests/namespace-install.yaml b/manifests/namespace-install.yaml index 9dd4a9652017b..d53256fd1e141 100644 --- a/manifests/namespace-install.yaml +++ b/manifests/namespace-install.yaml @@ -2130,4 +2130,4 @@ spec: matchLabels: app.kubernetes.io/name: argocd-server policyTypes: - - Ingress + - Ingress \ No newline at end of file