Skip to content

Commit

Permalink
Accomodate changes for KFP 2.2.0 upgrade
Browse files Browse the repository at this point in the history
This will include all the changes from the kfp 2.2.0 release

Signed-off-by: Ricardo M. Oliveira <rmartine@redhat.com>
  • Loading branch information
rimolive committed Sep 16, 2024
1 parent e101b0f commit 22a62b1
Show file tree
Hide file tree
Showing 18 changed files with 349 additions and 18 deletions.
2 changes: 2 additions & 0 deletions config/argo/clusterrole.argo-aggregate-to-admin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ metadata:
labels:
rbac.authorization.k8s.io/aggregate-to-admin: "true"
name: argo-aggregate-to-admin
annotations:
internal.kpt.dev/upstream-identifier: "rbac.authorization.k8s.io|ClusterRole|default|argo-aggregate-to-admin"
rules:
- apiGroups:
- argoproj.io
Expand Down
2 changes: 2 additions & 0 deletions config/argo/clusterrole.argo-aggregate-to-edit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ metadata:
labels:
rbac.authorization.k8s.io/aggregate-to-edit: "true"
name: argo-aggregate-to-edit
annotations:
internal.kpt.dev/upstream-identifier: "rbac.authorization.k8s.io|ClusterRole|default|argo-aggregate-to-edit"
rules:
- apiGroups:
- argoproj.io
Expand Down
2 changes: 2 additions & 0 deletions config/argo/clusterrole.argo-aggregate-to-view.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ metadata:
labels:
rbac.authorization.k8s.io/aggregate-to-view: "true"
name: argo-aggregate-to-view
annotations:
internal.kpt.dev/upstream-identifier: "rbac.authorization.k8s.io|ClusterRole|default|argo-aggregate-to-view"
rules:
- apiGroups:
- argoproj.io
Expand Down
3 changes: 2 additions & 1 deletion config/argo/clusterrole.argo-cluster-role.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: argo-cluster-role
annotations:
internal.kpt.dev/upstream-identifier: "rbac.authorization.k8s.io|ClusterRole|default|argo-cluster-role"
rules:
- apiGroups:
- ""
Expand Down
41 changes: 41 additions & 0 deletions config/argo/crd.workflowartifactgctasks.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: workflowartifactgctasks.argoproj.io
spec:
group: argoproj.io
names:
kind: WorkflowArtifactGCTask
listKind: WorkflowArtifactGCTaskList
plural: workflowartifactgctasks
shortNames:
- wfat
singular: workflowartifactgctask
scope: Namespaced
versions:
- name: v1alpha1
schema:
openAPIV3Schema:
properties:
apiVersion:
type: string
kind:
type: string
metadata:
type: object
spec:
type: object
x-kubernetes-map-type: atomic
x-kubernetes-preserve-unknown-fields: true
status:
type: object
x-kubernetes-map-type: atomic
x-kubernetes-preserve-unknown-fields: true
required:
- metadata
- spec
type: object
served: true
storage: true
subresources:
status: {}
6 changes: 5 additions & 1 deletion config/argo/crd.workflows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
internal.kpt.dev/upstream-identifier: apiextensions.k8s.io|CustomResourceDefinition|default|workflows.argoproj.io
internal.kpt.dev/upstream-identifier: "apiextensions.k8s.io|CustomResourceDefinition|default|workflows.argoproj.io"
name: workflows.argoproj.io
spec:
group: argoproj.io
Expand All @@ -25,6 +25,10 @@ spec:
jsonPath: .status.startedAt
name: Age
type: date
- description: Human readable message indicating details about why the workflow is in this condition.
jsonPath: .status.message
name: Message
type: string
name: v1alpha1
schema:
openAPIV3Schema:
Expand Down
161 changes: 160 additions & 1 deletion config/argo/crd.workflowtaskresult.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
internal.kpt.dev/upstream-identifier: apiextensions.k8s.io|CustomResourceDefinition|default|workflowtaskresults.argoproj.io
internal.kpt.dev/upstream-identifier: "apiextensions.k8s.io|CustomResourceDefinition|default|workflowtaskresults.argoproj.io"
name: workflowtaskresults.argoproj.io
spec:
group: argoproj.io
Expand Down Expand Up @@ -45,6 +45,29 @@ spec:
type: object
archiveLogs:
type: boolean
artifactGC:
properties:
podMetadata:
properties:
annotations:
additionalProperties:
type: string
type: object
labels:
additionalProperties:
type: string
type: object
type: object
serviceAccountName:
type: string
strategy:
enum:
- ""
- OnWorkflowCompletion
- OnWorkflowDeletion
- Never
type: string
type: object
artifactory:
properties:
passwordSecret:
Expand Down Expand Up @@ -74,6 +97,34 @@ spec:
required:
- url
type: object
azure:
properties:
accountKeySecret:
properties:
key:
type: string
name:
type: string
optional:
type: boolean
required:
- key
type: object
blob:
type: string
container:
type: string
endpoint:
type: string
useSDKCreds:
type: boolean
required:
- blob
- container
- endpoint
type: object
deleted:
type: boolean
from:
type: string
fromExpression:
Expand All @@ -100,6 +151,8 @@ spec:
type: object
git:
properties:
branch:
type: string
depth:
format: int64
type: integer
Expand All @@ -126,6 +179,8 @@ spec:
type: string
revision:
type: string
singleBranch:
type: boolean
sshPrivateKeySecret:
properties:
key:
Expand Down Expand Up @@ -209,6 +264,110 @@ spec:
type: object
http:
properties:
auth:
properties:
basicAuth:
properties:
passwordSecret:
properties:
key:
type: string
name:
type: string
optional:
type: boolean
required:
- key
type: object
usernameSecret:
properties:
key:
type: string
name:
type: string
optional:
type: boolean
required:
- key
type: object
type: object
clientCert:
properties:
clientCertSecret:
properties:
key:
type: string
name:
type: string
optional:
type: boolean
required:
- key
type: object
clientKeySecret:
properties:
key:
type: string
name:
type: string
optional:
type: boolean
required:
- key
type: object
type: object
oauth2:
properties:
clientIDSecret:
properties:
key:
type: string
name:
type: string
optional:
type: boolean
required:
- key
type: object
clientSecretSecret:
properties:
key:
type: string
name:
type: string
optional:
type: boolean
required:
- key
type: object
endpointParams:
items:
properties:
key:
type: string
value:
type: string
required:
- key
type: object
type: array
scopes:
items:
type: string
type: array
tokenURLSecret:
properties:
key:
type: string
name:
type: string
optional:
type: boolean
required:
- key
type: object
type: object
type: object
headers:
items:
properties:
Expand Down
4 changes: 2 additions & 2 deletions config/argo/deployment.workflow-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
- --configmap
- workflow-controller-configmap
- --executor-image
- gcr.io/ml-pipeline/argoexec:v3.3.10-license-compliance
- gcr.io/ml-pipeline/argoexec:v3.4.16-license-compliance
- --namespaced
command:
- workflow-controller
Expand All @@ -29,7 +29,7 @@ spec:
apiVersion: v1
fieldPath: metadata.name
# image: quay.io/argoproj/workflow-controller:v3.4.12
image: gcr.io/ml-pipeline/workflow-controller:v3.3.10-license-compliance
image: gcr.io/ml-pipeline/workflow-controller:v3.4.16-license-compliance
livenessProbe:
failureThreshold: 3
httpGet:
Expand Down
1 change: 1 addition & 0 deletions config/argo/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ resources:
- crd.clusterworkflowtemplates.yaml
- crd.cronworkflows.yaml
- crd.viewers.yaml
- crd.workflowartifactgctasks.yaml
- crd.workfloweventbinding.yaml
- crd.workflows.yaml
- crd.workflowtaskresult.yaml
Expand Down
Loading

0 comments on commit 22a62b1

Please sign in to comment.