Skip to content

Commit

Permalink
Merge pull request #676 from SaschaSchwarze0/sascha-crd-update
Browse files Browse the repository at this point in the history
Update generated CRDs
  • Loading branch information
openshift-merge-robot authored Mar 18, 2021
2 parents 7a02198 + 6da9274 commit c3cbe9d
Show file tree
Hide file tree
Showing 5 changed files with 65 additions and 15 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ jobs:
kubernetes:
# Only v1.18 is currently enabled because of the flakiness in the tests, specifically API calls failing with "etcdserver: request timed out"
#- v1.17.17
- v1.18.15
#- v1.19.7
#- v1.18.15
- v1.19.7
#- v1.20.2
max-parallel: 1
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -74,8 +74,8 @@ jobs:
kubernetes:
# Only v1.18 is currently enabled because of the flakiness in the tests, specifically API calls failing with "etcdserver: request timed out"
#- v1.17.17
- v1.18.15
#- v1.19.7
#- v1.18.15
- v1.19.7
#- v1.20.2
max-parallel: 2
runs-on: ${{ matrix.os }}
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ as [Kaniko](https://github.com/GoogleContainerTools/kaniko),

## Dependencies

| Dependency | Supported versions |
| ----------------------------------------- | -------------------------------------- |
| [Kubernetes](https://kubernetes.io/) | v1.15.\*, v1.16.\*, v1.17.\*, v1.18.\* |
| [Tekton](https://tekton.dev) | v0.21.0 |
| Dependency | Supported versions |
| -------------------------------------| ---------------------------- |
| [Kubernetes](https://kubernetes.io/) | v1.17.\*, v1.18.\*, v1.19.\* |
| [Tekton](https://tekton.dev) | v0.21.0 |

## Build Strategies

Expand Down
31 changes: 28 additions & 3 deletions deploy/crds/shipwright.io_buildstrategies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,10 @@ spec:
type: object
fieldRef:
description: 'Selects a field of the pod: supports
metadata.name, metadata.namespace, metadata.labels,
metadata.annotations, spec.nodeName, spec.serviceAccountName,
status.hostIP, status.podIP, status.podIPs.'
metadata.name, metadata.namespace, `metadata.labels[''<KEY>'']`,
`metadata.annotations[''<KEY>'']`, spec.nodeName,
spec.serviceAccountName, status.hostIP, status.podIP,
status.podIPs.'
properties:
apiVersion:
description: Version of the schema the FieldPath
Expand Down Expand Up @@ -840,6 +841,30 @@ spec:
to the container.
type: string
type: object
seccompProfile:
description: The seccomp options to use by this container.
If seccomp options are provided at both the pod & container
level, the container options override the pod options.
properties:
localhostProfile:
description: localhostProfile indicates a profile defined
in a file on the node should be used. The profile
must be preconfigured on the node to work. Must be
a descending path, relative to the kubelet's configured
seccomp profile location. Must only be set if type
is "Localhost".
type: string
type:
description: "type indicates which kind of seccomp profile
will be applied. Valid options are: \n Localhost -
a profile defined in a file on the node should be
used. RuntimeDefault - the container runtime default
profile should be used. Unconfined - no profile should
be applied."
type: string
required:
- type
type: object
windowsOptions:
description: The Windows specific settings applied to all
containers. If unspecified, the options from the PodSecurityContext
Expand Down
31 changes: 28 additions & 3 deletions deploy/crds/shipwright.io_clusterbuildstrategies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,10 @@ spec:
type: object
fieldRef:
description: 'Selects a field of the pod: supports
metadata.name, metadata.namespace, metadata.labels,
metadata.annotations, spec.nodeName, spec.serviceAccountName,
status.hostIP, status.podIP, status.podIPs.'
metadata.name, metadata.namespace, `metadata.labels[''<KEY>'']`,
`metadata.annotations[''<KEY>'']`, spec.nodeName,
spec.serviceAccountName, status.hostIP, status.podIP,
status.podIPs.'
properties:
apiVersion:
description: Version of the schema the FieldPath
Expand Down Expand Up @@ -840,6 +841,30 @@ spec:
to the container.
type: string
type: object
seccompProfile:
description: The seccomp options to use by this container.
If seccomp options are provided at both the pod & container
level, the container options override the pod options.
properties:
localhostProfile:
description: localhostProfile indicates a profile defined
in a file on the node should be used. The profile
must be preconfigured on the node to work. Must be
a descending path, relative to the kubelet's configured
seccomp profile location. Must only be set if type
is "Localhost".
type: string
type:
description: "type indicates which kind of seccomp profile
will be applied. Valid options are: \n Localhost -
a profile defined in a file on the node should be
used. RuntimeDefault - the container runtime default
profile should be used. Unconfined - no profile should
be applied."
type: string
required:
- type
type: object
windowsOptions:
description: The Windows specific settings applied to all
containers. If unspecified, the options from the PodSecurityContext
Expand Down
2 changes: 1 addition & 1 deletion hack/install-kind.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ kind --version
KIND_CLUSTER_NAME="${KIND_CLUSTER_NAME:-kind}"

# kind cluster version
KIND_CLUSTER_VERSION="${KIND_CLUSTER_VERSION:-v1.18.2}"
KIND_CLUSTER_VERSION="${KIND_CLUSTER_VERSION:-v1.19.7}"

echo "# Creating a new Kubernetes cluster..."
kind create cluster --quiet --name="${KIND_CLUSTER_NAME}" --image="kindest/node:${KIND_CLUSTER_VERSION}" --wait=120s
Expand Down

0 comments on commit c3cbe9d

Please sign in to comment.