mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-24 14:32:33 +00:00
While Kubernetes defines `binaryData` as `[]byte`, when defined in a YAML file the raw bytes are base64 encoded. Therefore, we need to read the YAML value as `String` and not as `Vec<u8>`. Fixes: #10410 Signed-off-by: Leonard Cohnen <lc@edgeless.systems>
18 lines
306 B
YAML
18 lines
306 B
YAML
#
|
|
# Copyright (c) 2024 Microsoft
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: policy-configmap
|
|
data:
|
|
data-1: value-1
|
|
data-2: value-2
|
|
data-3: value-3
|
|
binaryData:
|
|
bin-data-1: YmluLXZhbHVlLTE=
|
|
bin-data-2: YmluLXZhbHVlLTI=
|
|
bin-data-3: YmluLXZhbHVlLTM=
|