Argo kustomize v3 manifests (#1185)
* Argo v3 manifest * Generate test snapshots * Revert common label changes * Revert unrelated changes
This commit is contained in:
parent
a6755ffa88
commit
0ac85c5d4d
|
|
@ -1,14 +1,6 @@
|
|||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
annotations:
|
||||
getambassador.io/config: |-
|
||||
---
|
||||
apiVersion: ambassador/v0
|
||||
kind: Mapping
|
||||
name: argo-ui-mapping
|
||||
prefix: /argo/
|
||||
service: argo-ui.$(namespace)
|
||||
labels:
|
||||
app: argo-ui
|
||||
name: argo-ui
|
||||
|
|
|
|||
|
|
@ -0,0 +1,101 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../base/cluster-role-binding.yaml
|
||||
- ../base/cluster-role.yaml
|
||||
- ../base/config-map.yaml
|
||||
- ../base/crd.yaml
|
||||
- ../base/deployment.yaml
|
||||
- ../base/service-account.yaml
|
||||
- ../base/service.yaml
|
||||
- ../overlays/istio/virtual-service.yaml
|
||||
- ../overlays/application/application.yaml
|
||||
commonLabels:
|
||||
kustomize.component: argo
|
||||
app.kubernetes.io/component: argo
|
||||
app.kubernetes.io/name: argo
|
||||
images:
|
||||
- name: argoproj/argoui
|
||||
newName: argoproj/argoui
|
||||
newTag: v2.3.0
|
||||
- name: argoproj/workflow-controller
|
||||
newName: argoproj/workflow-controller
|
||||
newTag: v2.3.0
|
||||
configMapGenerator:
|
||||
- name: workflow-controller-parameters
|
||||
env: ../base/params.env
|
||||
generatorOptions:
|
||||
disableNameSuffixHash: true
|
||||
vars:
|
||||
- name: executorImage
|
||||
objref:
|
||||
kind: ConfigMap
|
||||
name: workflow-controller-parameters
|
||||
apiVersion: v1
|
||||
fieldref:
|
||||
fieldpath: data.executorImage
|
||||
- name: containerRuntimeExecutor
|
||||
objref:
|
||||
kind: ConfigMap
|
||||
name: workflow-controller-parameters
|
||||
apiVersion: v1
|
||||
fieldref:
|
||||
fieldpath: data.containerRuntimeExecutor
|
||||
- name: artifactRepositoryBucket
|
||||
objref:
|
||||
kind: ConfigMap
|
||||
name: workflow-controller-parameters
|
||||
apiVersion: v1
|
||||
fieldref:
|
||||
fieldpath: data.artifactRepositoryBucket
|
||||
- name: artifactRepositoryKeyPrefix
|
||||
objref:
|
||||
kind: ConfigMap
|
||||
name: workflow-controller-parameters
|
||||
apiVersion: v1
|
||||
fieldref:
|
||||
fieldpath: data.artifactRepositoryKeyPrefix
|
||||
- name: artifactRepositoryEndpoint
|
||||
objref:
|
||||
kind: ConfigMap
|
||||
name: workflow-controller-parameters
|
||||
apiVersion: v1
|
||||
fieldref:
|
||||
fieldpath: data.artifactRepositoryEndpoint
|
||||
- name: artifactRepositoryInsecure
|
||||
objref:
|
||||
kind: ConfigMap
|
||||
name: workflow-controller-parameters
|
||||
apiVersion: v1
|
||||
fieldref:
|
||||
fieldpath: data.artifactRepositoryInsecure
|
||||
- name: artifactRepositoryAccessKeySecretName
|
||||
objref:
|
||||
kind: ConfigMap
|
||||
name: workflow-controller-parameters
|
||||
apiVersion: v1
|
||||
fieldref:
|
||||
fieldpath: data.artifactRepositoryAccessKeySecretName
|
||||
- name: artifactRepositoryAccessKeySecretKey
|
||||
objref:
|
||||
kind: ConfigMap
|
||||
name: workflow-controller-parameters
|
||||
apiVersion: v1
|
||||
fieldref:
|
||||
fieldpath: data.artifactRepositoryAccessKeySecretKey
|
||||
- name: artifactRepositorySecretKeySecretName
|
||||
objref:
|
||||
kind: ConfigMap
|
||||
name: workflow-controller-parameters
|
||||
apiVersion: v1
|
||||
fieldref:
|
||||
fieldpath: data.artifactRepositorySecretKeySecretName
|
||||
- name: artifactRepositorySecretKeySecretKey
|
||||
objref:
|
||||
kind: ConfigMap
|
||||
name: workflow-controller-parameters
|
||||
apiVersion: v1
|
||||
fieldref:
|
||||
fieldpath: data.artifactRepositorySecretKeySecretKey
|
||||
configurations:
|
||||
- params.yaml
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
varReference:
|
||||
- path: data/config
|
||||
kind: ConfigMap
|
||||
- path: spec/http/route/destination/host
|
||||
kind: VirtualService
|
||||
|
|
@ -6,11 +6,7 @@ spec:
|
|||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: argo
|
||||
app.kubernetes.io/instance: argo-v2.3.0
|
||||
app.kubernetes.io/managed-by: kfctl
|
||||
app.kubernetes.io/component: argo
|
||||
app.kubernetes.io/part-of: kubeflow
|
||||
app.kubernetes.io/version: v2.3.0
|
||||
componentKinds:
|
||||
- group: core
|
||||
kind: ConfigMap
|
||||
|
|
|
|||
|
|
@ -39,8 +39,4 @@ spec:
|
|||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/component: argo
|
||||
app.kubernetes.io/instance: argo-v2.3.0
|
||||
app.kubernetes.io/managed-by: kfctl
|
||||
app.kubernetes.io/name: argo
|
||||
app.kubernetes.io/part-of: kubeflow
|
||||
app.kubernetes.io/version: v2.3.0
|
||||
|
|
|
|||
|
|
@ -1,14 +1,6 @@
|
|||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
annotations:
|
||||
getambassador.io/config: |-
|
||||
---
|
||||
apiVersion: ambassador/v0
|
||||
kind: Mapping
|
||||
name: argo-ui-mapping
|
||||
prefix: /argo/
|
||||
service: argo-ui.kubeflow
|
||||
labels:
|
||||
app: argo-ui
|
||||
app.kubernetes.io/component: argo
|
||||
|
|
|
|||
Loading…
Reference in New Issue