워크플로우 생성자 (Workflow Creator)
CLI나 UI로 워크플로우를 만들면 누가 만들었는지가 라벨로 기록돼요. 감사(auditing)와 추적 관점에서 유용하게 쓸 수 있는 기능이에요.
본문
v2.9 and after
CLI나 UI를 통해 워크플로우를 생성하면, 해당 워크플로우에 생성자 사용자 정보를 라벨로 붙이려는 시도가 이뤄져요.
apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
name: my-wf
labels:
workflows.argoproj.io/creator: admin
# labels must be DNS formatted, so the "@" is replaces by '.at.'
workflows.argoproj.io/creator-email: admin.at.your.org
workflows.argoproj.io/creator-preferred-username: admin-preferred-username
!!! Note
라벨에는 [-_.0-9a-zA-Z] 문자만 들어갈 수 있어요. 그 외 문자는 모두 -로 바뀌어요.
더 알아보기 (Learn more)
- 라벨(Labels) 문서에서 라벨 사용 규칙을 살펴 보세요.
- 워크플로우 예제에서 메타데이터 작성 방식을 참고해 보세요.