File tree Expand file tree Collapse file tree 9 files changed +42
-31
lines changed
Expand file tree Collapse file tree 9 files changed +42
-31
lines changed Original file line number Diff line number Diff line change 1- #
2- # If true install in single namespace mode
3- #
1+ # ==============================================================
2+ # Example YAML values for typical kubeview deployment scenarios
3+ # ==============================================================
4+
5+ # If true the app will function in single namespace mode
46limitNamespace : false
57
8+ # Networking - expose using an ingress
9+ # Note. If both ingress and loadbalancer are disabled, an internal ClusterIP service will be created
610ingress :
711 enabled : false
12+ # className: nginx
813 # hosts:
914 # - host: kubeview.example.net
10- # paths:
11- # - /
1215 # tls:
1316 # - secretName: my-cert
1417 # hosts:
1518 # - kubeview.example.net
1619
20+ # Networking - expose using simple load balancer
1721loadBalancer :
1822 enabled : true
19-
20- IP : ' 1.2.3.4'
23+ # If you have an existing IP you can set it here
24+ # IP: " 1.2.3.4"
Original file line number Diff line number Diff line change 11name : kubeview
22apiVersion : v2
3- version : 0.1.30
4- appVersion : ' 0.1.30 '
3+ version : 0.1.31
4+ appVersion : " 0.1.31 "
55
66description : Kubernetes cluster visualiser and visual explorer
77maintainers :
Original file line number Diff line number Diff line change @@ -10,27 +10,31 @@ replicaCount: 1
1010
1111image :
1212 repository : ghcr.io/benc-uk/kubeview
13- tag : 0.1.30
13+ tag : 0.1.31
1414 pullPolicy : Always
1515
1616imagePullSecrets : []
17- nameOverride : ' '
18- fullnameOverride : ' '
17+ nameOverride : " "
18+ fullnameOverride : " "
1919
20+ # If you want to expose the kubeview service using an ingress
2021ingress :
2122 enabled : false
2223 annotations : {}
2324 hosts :
2425 - host : chart-example.local
25- paths : ['/']
2626 tls : []
27- className :
27+ className : " "
2828
29+ # If you want to expose the kubeview service directly
2930loadBalancer :
30- IP : ' '
31-
31+ IP : " "
3232 enabled : true
3333
34+ # Note.
35+ # If both ingress and loadbalancer are disabled, a ClusterIP service will be created
36+
37+ # Mostly never need to change these
3438resources :
3539 limits :
3640 cpu : 100m
Original file line number Diff line number Diff line change 22# Variables
33SERVER_DIR := ./cmd
44FRONTEND_DIR := ./web/client
5- VERSION := 0.1.30
5+ VERSION := 0.1.31
66BUILD_INFO := Manual build from makefile
77# Things you don't want to change
88REPO_DIR := $(abspath $(dir $(lastword $(MAKEFILE_LIST ) ) ) )
Original file line number Diff line number Diff line change 11{
22 "name" : " kubeview" ,
3- "version" : " 0.1.30 " ,
3+ "version" : " 0.1.31 " ,
44 "author" : {
55 "name" : " Ben Coleman"
66 },
77 "private" : true ,
88 "scripts" : {
9+ "start" : " npm run serve" ,
910 "serve" : " vue-cli-service serve" ,
1011 "build" : " vue-cli-service build" ,
1112 "lint-fix" : " vue-cli-service lint && prettier --write src" ,
Original file line number Diff line number Diff line change 3636 <b-navbar-nav >
3737 <b-dropdown split :text =" autoRefreshText" split-variant =" light" variant =" info" >
3838 <b-dropdown-item @click =" autoRefresh = 0" > Off </b-dropdown-item >
39- <!-- <b-dropdown-item @click="autoRefresh=2">2 secs</b-dropdown-item> -->
4039 <b-dropdown-item @click =" autoRefresh = 5" > 5 secs </b-dropdown-item >
4140 <b-dropdown-item @click =" autoRefresh = 10" > 10 secs </b-dropdown-item >
4241 <b-dropdown-item @click =" autoRefresh = 15" > 15 secs </b-dropdown-item >
Original file line number Diff line number Diff line change 109109 </ul >
110110 </div >
111111
112- <b-button variant =" info" @click =" $emit('full-info', nodeData)" > Full Object Details </b-button >
112+ <b-button variant =" info" @click =" $emit('show- full-info', nodeData)" > Full Object Details </b-button >
113113 </b-card >
114114 </div >
115115</template >
Original file line number Diff line number Diff line change 55 <loading v-if =" loading" />
66
77 <transition name =" slide-fade" >
8- <infobox v-if =" infoBoxData" :node-data =" infoBoxData" @hide-info-box =" infoBoxData = null" @full-info =" showFullInfo" />
8+ <infobox v-if =" infoBoxData" :node-data =" infoBoxData" @hide-info-box =" infoBoxData = null" @show- full-info =" showFullInfo" />
99 </transition >
1010
1111 <b-modal ref =" fullInfoModal" centered :title =" fullInfoTitle" ok-only scrollable size =" lg" body-class =" fullInfoBody" >
@@ -145,7 +145,10 @@ export default {
145145 // Display the detail info dialog with YAML version of the selected object
146146 //
147147 showFullInfo () {
148- this .fullInfoYaml = yaml .safeDump (this .infoBoxData .sourceObj )
148+ let objectCopy = { ... this .infoBoxData .sourceObj }
149+ // Hide managedFields as it is not useful and noisy
150+ objectCopy .metadata .managedFields = {}
151+ this .fullInfoYaml = yaml .safeDump (objectCopy)
149152 this .fullInfoTitle = ` ${ this .infoBoxData .type } : ${ this .infoBoxData .sourceObj .metadata .name } `
150153 this .$refs .fullInfoModal .show ()
151154 },
You can’t perform that action at this time.
0 commit comments