fix(kromgo): no Times New Ramen sadge

This commit is contained in:
JJGadgets
2024-08-26 22:31:18 +08:00
parent 367a91cdf1
commit 477048d284
3 changed files with 14 additions and 14 deletions

View File

@@ -1,8 +1,8 @@
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/kashalls/kromgo/main/config.schema.json
badge:
font: TimesNewRamen.woff
size: 12
#badge: # TODO: convert to TrueType .ttf
# font: TimesNewRamen.woff
# size: 12
metrics:
# Kubernetes cluster
- name: cluster_cpu_usage

View File

@@ -7,10 +7,10 @@ configMapGenerator:
files:
- config.yaml
#secretGenerator:
- name: kromgo-fonts
namespace: kromgo
files:
- 'TimesNewRamen.woff=https://raw.githubusercontent.com/okfocus/times-new-ramen/ca4ebcaff98e0aa4e2746f7d7c0fad09c63e0b67/TimesNewRamen-Regular.woff'
# - name: kromgo-fonts
# namespace: kromgo
# files:
# - 'TimesNewRamen.woff=https://raw.githubusercontent.com/okfocus/times-new-ramen/ca4ebcaff98e0aa4e2746f7d7c0fad09c63e0b67/TimesNewRamen-Regular.woff'
generatorOptions:
disableNameSuffixHash: true
annotations:

View File

@@ -102,13 +102,13 @@ spec:
- subPath: config.yaml
path: /kromgo/config.yaml
readOnly: true
fonts:
type: configMap
name: kromgo-fonts
globalMounts:
- subPath: TimesNewRamen.woff
path: /kromgo/TimesNewRamen.woff
readOnly: true
#fonts:
# type: configMap
# name: kromgo-fonts
# globalMounts:
# - subPath: TimesNewRamen.woff
# path: /kromgo/TimesNewRamen.woff
# readOnly: true
defaultPodOptions:
automountServiceAccountToken: false
enableServiceLinks: false