...

Text file src/github.com/openshift/api/config/v1/techpreview.apiserver.testsuite.yaml

Documentation: github.com/openshift/api/config/v1

     1apiVersion: apiextensions.k8s.io/v1 # Hack because controller-gen complains if we don't have this
     2name: "[TechPreviewNoUpgrade] APIServer"
     3crd: 0000_10_config-operator_01_apiserver-TechPreviewNoUpgrade.crd.yaml
     4tests:
     5  onCreate:
     6    - name: Should be able to create encrypt with aescbc
     7      initial: |
     8        apiVersion: config.openshift.io/v1
     9        kind: APIServer
    10        spec:
    11          encryption:
    12            type: aescbc
    13      expected: |
    14        apiVersion: config.openshift.io/v1
    15        kind: APIServer
    16        spec:
    17          audit:
    18            profile: Default
    19          encryption:
    20            type: aescbc
    21    - name: Should be able to create encrypt with aesgcm
    22      initial: |
    23        apiVersion: config.openshift.io/v1
    24        kind: APIServer
    25        spec:
    26          encryption:
    27            type: aesgcm
    28      expected: |
    29        apiVersion: config.openshift.io/v1
    30        kind: APIServer
    31        spec:
    32          audit:
    33            profile: Default
    34          encryption:
    35            type: aesgcm

View as plain text