A
${PROJECT_NAME}
, но с такой конструкцией он не разворачиваетсяSize: a a a
A
${PROJECT_NAME}
, но с такой конструкцией он не разворачиваетсяVR
${PROJECT_NAME}
, но с такой конструкцией он не разворачиваетсяvalueFrom: metadata.namespace
A
valueFrom: metadata.namespace
A
A
A
- kind: Secret
apiVersion: v1
metadata:
name: ${USER_SA}-secret
annotations:
kubernetes.io/service-account.name: ${USER_SA}
type: kubernetes.io/service-account-token
data:
username:"${USER_SA_NAME | base64}"
A
- name: USER_SA_NAME
displayName: User secret key
description: Specify secret for user account.
required: true
from: '[a-zA-Z0-9]{3}'
generate: expression
VR
- kind: Secret
apiVersion: v1
metadata:
name: ${USER_SA}-secret
annotations:
kubernetes.io/service-account.name: ${USER_SA}
type: kubernetes.io/service-account-token
data:
username:"${USER_SA_NAME | base64}"
A
VR
A
Cannot create secret "user-sa-secret". Secret in version "v1" cannot be handled as a Secret: [pos 68]: json: error decoding base64 binary '${USER_SA_NAME | base64}': illegal base64 data at input byte 0
VR
A
VR
| base 64
?A
| base 64
?A
VR
A
A