mirror of
https://github.com/amkartashov/gf-k8s.git
synced 2026-01-10 17:39:43 +00:00
60 lines
1.8 KiB
YAML
60 lines
1.8 KiB
YAML
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: argocd-cm
|
|
data:
|
|
application.instanceLabelKey: argocd.argoproj.io/instance
|
|
url: https://argocd.ioot.xyz
|
|
statusbadge.enabled: 'true'
|
|
resource.compareoptions: |
|
|
# disables status field diffing in specified resource types
|
|
ignoreAggregatedRoles: true
|
|
dex.config: |
|
|
connectors:
|
|
- type: github
|
|
id: github
|
|
name: GitHub
|
|
config:
|
|
clientID: $dex.github.clientId
|
|
clientSecret: $dex.github.clientSecret
|
|
configManagementPlugins: |
|
|
- name: cue
|
|
init:
|
|
command: ["python3"]
|
|
args:
|
|
- -c
|
|
- |
|
|
try:
|
|
f = open('/tmp/cue')
|
|
print('cue is installed already')
|
|
except IOError:
|
|
print('installing cue ...')
|
|
import urllib.request
|
|
url = 'https://github.com/cuelang/cue/releases/download/v0.3.0-beta.5/cue_0.3.0-beta.5_Linux_x86_64.tar.gz'
|
|
urllib.request.urlretrieve(url, '/tmp/cue.tar.gz')
|
|
import tarfile
|
|
a = tarfile.open('/tmp/cue.tar.gz')
|
|
a.extract('cue', '/tmp/')
|
|
print(' ... done')
|
|
generate:
|
|
command: ["/tmp/cue"]
|
|
args: ["cmd", "dump", "./..."]
|
|
repositories: |
|
|
- name: grafana
|
|
type: helm
|
|
url: https://grafana.github.io/helm-charts
|
|
- name: ingress-nginx
|
|
type: helm
|
|
url: https://kubernetes.github.io/ingress-nginx
|
|
- name: jetstack
|
|
type: helm
|
|
url: https://charts.jetstack.io
|
|
- name: itzg
|
|
type: helm
|
|
url: https://itzg.github.io/minecraft-server-charts/
|
|
- name: prometheus-community
|
|
type: helm
|
|
url: https://prometheus-community.github.io/helm-charts
|
|
- name: vm
|
|
type: helm
|
|
url: https://victoriametrics.github.io/helm-charts/
|