Skip to content

Commit

Permalink
Remove PNS Executor manifests and containerRuntimeExecutor ConfigMap Key
Browse files Browse the repository at this point in the history
- PNS Executor was removed in Argo v3.4, so manifests no longer valid
- WorkflowController will fail to start if `containerRuntimeExecutor`
  provided as input parameter, so remove from WC ConfigMap and CM
  patches

Signed-off-by: Giulio Frasca <[email protected]>
  • Loading branch information
gmfrasca committed Mar 14, 2024
1 parent 321d54f commit dd939f3
Show file tree
Hide file tree
Showing 14 changed files with 1 addition and 87 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -832,9 +832,7 @@ data:
# * https://github.com/argoproj/argo-workflows/blob/v3.4.16/docs/workflow-controller-configmap.md
# * https://github.com/argoproj/argo-workflows/blob/v3.4.16/docs/workflow-controller-configmap.yaml

# TODO(gfrasca): remove? Unused in v3.4
# Choice of an executor is deprecated in favor of emissary executor
containerRuntimeExecutor: emissary
executor: |
imagePullPolicy: IfNotPresent
resources:
Expand Down
2 changes: 0 additions & 2 deletions manifests/gcp_marketplace/test/snapshot-base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,7 @@ data:
# * https://github.com/argoproj/argo-workflows/blob/v3.4.16/docs/workflow-controller-configmap.md
# * https://github.com/argoproj/argo-workflows/blob/v3.4.16/docs/workflow-controller-configmap.yaml

# TODO(gfrasca): remove? Unused in v3.4
# Choice of an executor is deprecated in favor of emissary executor
containerRuntimeExecutor: emissary
executor: |
imagePullPolicy: IfNotPresent
resources:
Expand Down
2 changes: 0 additions & 2 deletions manifests/gcp_marketplace/test/snapshot-emissary.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,7 @@ data:
# * https://github.com/argoproj/argo-workflows/blob/v3.4.16/docs/workflow-controller-configmap.md
# * https://github.com/argoproj/argo-workflows/blob/v3.4.16/docs/workflow-controller-configmap.yaml

# TODO(gfrasca): remove? Unused in v3.4
# Choice of an executor is deprecated in favor of emissary executor
containerRuntimeExecutor: emissary
executor: |
imagePullPolicy: IfNotPresent
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,7 @@ data:
# * https://github.com/argoproj/argo-workflows/blob/v3.4.16/docs/workflow-controller-configmap.md
# * https://github.com/argoproj/argo-workflows/blob/v3.4.16/docs/workflow-controller-configmap.yaml

# TODO(gfrasca): remove? Unused in v3.4
# Choice of an executor is deprecated in favor of emissary executor
containerRuntimeExecutor: emissary
executor: |
imagePullPolicy: IfNotPresent
resources:
Expand Down
2 changes: 0 additions & 2 deletions manifests/gcp_marketplace/test/snapshot-managed-storage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,7 @@ data:
# * https://github.com/argoproj/argo-workflows/blob/v3.4.16/docs/workflow-controller-configmap.md
# * https://github.com/argoproj/argo-workflows/blob/v3.4.16/docs/workflow-controller-configmap.yaml

# TODO(gfrasca): remove? Unused in v3.4
# Choice of an executor is deprecated in favor of emissary executor
containerRuntimeExecutor: emissary
executor: |
imagePullPolicy: IfNotPresent
resources:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
bases:
- ../platform-agnostic

patchesStrategicMerge:
- workflow-controller-configmap-patch.yaml
- ../platform-agnostic

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,3 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
bases:
- ../platform-agnostic-multi-user

patchesStrategicMerge:
- workflow-controller-configmap-patch.yaml

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

2 changes: 0 additions & 2 deletions manifests/kustomize/hack/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ kustomization_yamls=(
"env/dev"
"env/gcp"
"env/platform-agnostic"
"env/platform-agnostic-pns"
"env/platform-agnostic-emissary"
"env/aws"
"env/azure"
Expand All @@ -48,7 +47,6 @@ done
kustomization_yamls_v3=(
"base/installs/multi-user"
"env/platform-agnostic-multi-user"
"env/platform-agnostic-multi-user-pns"
"env/platform-agnostic-multi-user-emissary"
)
for path in "${kustomization_yamls_v3[@]}"
Expand Down

0 comments on commit dd939f3

Please sign in to comment.