6.8. 사용자 정의 알림 배너 만들기
ConsoleNotification 사용자 지정 리소스를 생성하여 웹 콘솔의 각 페이지 상단 또는 아래에 배너를 표시할 수 있습니다.
전제 조건
- 클러스터 관리자 권한이 있어야합니다.
프로세스
-
Administration
Custom Resource Definitions에서 ConsoleNotification을 클릭합니다. - Instances 탭을 선택합니다.
Create Console Notification을 클릭하고 파일을 편집합니다.
apiVersion: console.openshift.io/v1 kind: ConsoleNotification metadata: name: example spec: text: This is an example notification message with an optional link. location: BannerTop link: href: 'https://www.example.com' text: Optional link text color: '#fff' backgroundColor: '#0088ce'위치필드는BannerTop,BannerBottom또는BannerTopBottom을 수락합니다.- 생성을 클릭하여 변경 사항을 적용합니다.