-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reorganize manifests to kustomize 2 and update version to v2.3.0-rc1
- Loading branch information
Showing
33 changed files
with
112 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2.3.0 | ||
2.3.0-rc1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,21 @@ | ||
#!/bin/sh | ||
#!/bin/sh -x -e | ||
|
||
IMAGE_NAMESPACE=${IMAGE_NAMESPACE:='argoproj'} | ||
IMAGE_TAG=${IMAGE_TAG:='latest'} | ||
SRCROOT="$( CDPATH='' cd -- "$(dirname "$0")/.." && pwd -P )" | ||
AUTOGENMSG="# This is an auto-generated file. DO NOT EDIT" | ||
|
||
autogen_warning="# This is an auto-generated file. DO NOT EDIT" | ||
IMAGE_NAMESPACE="${IMAGE_NAMESPACE:-argoproj}" | ||
IMAGE_TAG="${IMAGE_TAG:-latest}" | ||
|
||
echo $autogen_warning > manifests/install.yaml | ||
kustomize build manifests/cluster-install >> manifests/install.yaml | ||
cd ${SRCROOT}/manifests/base && kustomize edit set image \ | ||
argoproj/workflow-controller=${IMAGE_NAMESPACE}/workflow-controller:${IMAGE_TAG} \ | ||
argoproj/argoui=${IMAGE_NAMESPACE}/argoui:${IMAGE_TAG} | ||
|
||
echo $autogen_warning > manifests/namespace-install.yaml | ||
kustomize build manifests/namespace-install >> manifests/namespace-install.yaml | ||
echo "${AUTOGENMSG}" > "${SRCROOT}/manifests/install.yaml" | ||
kustomize build "${SRCROOT}/manifests/cluster-install" >> "${SRCROOT}/manifests/install.yaml" | ||
sed -i.bak "s@- .*/argoexec:.*@- ${IMAGE_NAMESPACE}/argoexec:${IMAGE_TAG}@" "${SRCROOT}/manifests/install.yaml" | ||
rm -f "${SRCROOT}/manifests/install.yaml.bak" | ||
|
||
echo "${AUTOGENMSG}" > "${SRCROOT}/manifests/namespace-install.yaml" | ||
kustomize build "${SRCROOT}/manifests/namespace-install" >> "${SRCROOT}/manifests/namespace-install.yaml" | ||
sed -i.bak "s@- .*/argoexec:.*@- ${IMAGE_NAMESPACE}/argoexec:${IMAGE_TAG}@" "${SRCROOT}/manifests/namespace-install.yaml" | ||
rm -f "${SRCROOT}/manifests/namespace-install.yaml.bak" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
|
||
resources: | ||
- argo-ui-deployment.yaml | ||
- argo-ui-sa.yaml | ||
- argo-ui-service.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
|
||
resources: | ||
- workflow-crd.yaml |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
|
||
bases: | ||
- crds | ||
- workflow-controller | ||
- argo-ui | ||
|
||
images: | ||
- name: argoproj/argoui | ||
newName: argoproj/argoui | ||
newTag: v2.3.0-rc1 | ||
- name: argoproj/workflow-controller | ||
newName: argoproj/workflow-controller | ||
newTag: v2.3.0-rc1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
|
||
resources: | ||
- workflow-controller-configmap.yaml | ||
- workflow-controller-deployment.yaml | ||
- workflow-controller-sa.yaml |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
|
||
resources: | ||
- argo-ui-clusterrole.yaml | ||
- argo-ui-clusterrolebinding.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,7 @@ | ||
namespace: argo | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
|
||
resources: | ||
- ../base/01a_workflow-crd.yaml | ||
- ../base/01b_workflow-aggregate-roles.yaml | ||
- ../base/02a_workflow-controller-sa.yaml | ||
- ../base/02b_workflow-controller-clusterrole.yaml | ||
- ../base/02c_workflow-controller-clusterrolebinding.yaml | ||
- ../base/02d_workflow-controller-configmap.yaml | ||
- ../base/02e_workflow-controller-deployment.yaml | ||
- ../base/03a_argo-ui-sa.yaml | ||
- ../base/03b_argo-ui-clusterrole.yaml | ||
- ../base/03c_argo-ui-clusterrolebinding.yaml | ||
- ../base/03d_argo-ui-deployment.yaml | ||
- ../base/03e_argo-ui-service.yaml | ||
bases: | ||
- ../base | ||
- ./workflow-controller-rbac | ||
- ./argo-ui-rbac |
7 changes: 7 additions & 0 deletions
7
manifests/cluster-install/workflow-controller-rbac/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
|
||
resources: | ||
- workflow-aggregate-roles.yaml | ||
- workflow-controller-clusterrole.yaml | ||
- workflow-controller-clusterrolebinding.yaml |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
|
||
resources: | ||
- argo-ui-role.yaml | ||
- argo-ui-rolebinding.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,11 @@ | ||
resources: | ||
- ../base/01a_workflow-crd.yaml | ||
- ../base/02a_workflow-controller-sa.yaml | ||
- ./02b_workflow-controller-role.yaml | ||
- ./02c_workflow-controller-rolebinding.yaml | ||
- ./02d_workflow-controller-configmap.yaml | ||
- ../base/02e_workflow-controller-deployment.yaml | ||
- ../base/03a_argo-ui-sa.yaml | ||
- ./03b_argo-ui-role.yaml | ||
- ./03c_argo-ui-rolebinding.yaml | ||
- ../base/03d_argo-ui-deployment.yaml | ||
- ../base/03e_argo-ui-service.yaml | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
|
||
patches: | ||
- ./overlays/03d_argo-ui-deployment.yaml | ||
bases: | ||
- ../base | ||
- ./workflow-controller-rbac | ||
- ./argo-ui-rbac | ||
|
||
patchesStrategicMerge: | ||
- ./overlays/workflow-controller-configmap.yaml | ||
- ./overlays/argo-ui-deployment.yaml |
2 changes: 1 addition & 1 deletion
2
...tall/overlays/03d_argo-ui-deployment.yaml → ...-install/overlays/argo-ui-deployment.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
apiVersion: apps/v1beta2 | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: argo-ui | ||
|
File renamed without changes.
6 changes: 6 additions & 0 deletions
6
manifests/namespace-install/workflow-controller-rbac/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
|
||
resources: | ||
- workflow-controller-role.yaml | ||
- workflow-controller-rolebinding.yaml |
File renamed without changes.
File renamed without changes.