k8s.io/test-infra@v0.0.0-20240520184403-27c6b4c223d8/config/jobs/kubernetes/sig-auth/sig-auth-encryption-at-rest.yaml (about)

     1  presubmits:
     2    kubernetes/kubernetes:
     3    - name: pull-kubernetes-e2e-kind-kms
     4      cluster: k8s-infra-prow-build
     5      decorate: true
     6      decoration_config:
     7        timeout: 150m
     8      always_run: false
     9      optional: true
    10      # run only if the following files are modified:
    11      # - staging/src/k8s.io/apiserver/pkg/storage/value/
    12      # - staging/src/k8s.io/kms/
    13      # - staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/
    14      # - test/e2e/testing-manifests/auth/encrypt/
    15      run_if_changed: 'staging/src/k8s.io/apiserver/pkg/storage/value/|staging/src/k8s.io/kms/|staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/|test/e2e/testing-manifests/auth/encrypt/'
    16      path_alias: k8s.io/kubernetes
    17      branches:
    18      - ^master$
    19      - ^release-1\.(2[7-9]|[3-9][0-9])$
    20      labels:
    21        # this is required because we want to run kind in docker
    22        preset-dind-enabled: "true"
    23        # this is required to make CNI installation to succeed for kind
    24        preset-kind-volume-mounts: "true"
    25        preset-k8s-ssh: "true"
    26      annotations:
    27        testgrid-dashboards: sig-auth-encryption-at-rest
    28        description: Runs conformance tests on a cluster with KMS encryption enabled
    29      spec:
    30        containers:
    31        - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master
    32          # we need privileged mode in order to do docker in docker
    33          securityContext:
    34            privileged: true
    35          command:
    36          - runner.sh
    37          args:
    38          - "/bin/bash"
    39          - "-c"
    40          - ./test/e2e/testing-manifests/auth/encrypt/run-e2e.sh
    41          resources:
    42            limits:
    43              cpu: 2
    44              memory: 4Gi
    45            requests:
    46              cpu: 2
    47              memory: 4Gi
    48  
    49  periodics:
    50  - interval: 6h
    51    name: periodic-kubernetes-e2e-kind-kms
    52    cluster: k8s-infra-prow-build
    53    decorate: true
    54    decoration_config:
    55      timeout: 150m
    56    labels:
    57      # this is required because we want to run kind in docker
    58      preset-dind-enabled: "true"
    59      # this is required to make CNI installation to succeed for kind
    60      preset-kind-volume-mounts: "true"
    61      preset-k8s-ssh: "true"
    62    extra_refs:
    63    - org: kubernetes
    64      repo: kubernetes
    65      base_ref: master
    66      path_alias: k8s.io/kubernetes
    67    annotations:
    68      testgrid-dashboards: sig-auth-encryption-at-rest, sig-release-master-informing
    69      description: Runs conformance tests on a cluster with KMS encryption enabled at periodic intervals
    70    spec:
    71      containers:
    72      - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master
    73        # we need privileged mode in order to do docker in docker
    74        securityContext:
    75          privileged: true
    76        command:
    77        - runner.sh
    78        args:
    79        - "/bin/bash"
    80        - "-c"
    81        - ./test/e2e/testing-manifests/auth/encrypt/run-e2e.sh
    82        resources:
    83          limits:
    84            cpu: 2
    85            memory: 4Gi
    86          requests:
    87            cpu: 2
    88            memory: 4Gi