-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathlicense-proxyserver.yaml
More file actions
68 lines (64 loc) · 1.89 KB
/
license-proxyserver.yaml
File metadata and controls
68 lines (64 loc) · 1.89 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
{{ $defaults := dict "registryFQDN" (include "registry.ghcr" $) }}
{{ $vals := dig "license-proxyserver" "values" (dict) .Values.helm.releases }}
{{ $vals = mergeOverwrite $defaults $vals }}
apiVersion: ui.k8s.appscode.com/v1alpha1
kind: Feature
metadata:
name: license-proxyserver
labels:
app.kubernetes.io/part-of: opscenter-core
spec:
title: License Proxyserver
description: |
Fetch licenses for products by AppsCode
icons:
- src: https://cdn.appscode.com/k8s/icons/menu/cluster.svg
type: image/svg+xml
featureSet: opscenter-core
featureBlock: license-proxyserver
recommended: {{ not $.Values.offlineInstaller }}
{{- if eq (include "clustermanager.openshift" $) "true" }}
requirements:
features:
- aceshifter
{{- end }}
readinessChecks:
workloads:
- group: apps
version: v1
kind: Deployment
selector:
app.kubernetes.io/name: license-proxyserver
ignoreDifferences:
- jsonPointers:
- /data
kind: Secret
name: license-proxyserver-apiserver-cert
namespace: {{ printf "{{ .Release.Namespace }}" }}
- group: apiregistration.k8s.io
kind: APIService
name: v1alpha1.proxyserver.licenses.appscode.com
jsonPointers:
- /spec/caBundle
chart:
name: license-proxyserver
namespace: kubeops
createNamespace: {{ $.Values.helm.createNamespace }}
version: {{ dig "license-proxyserver" "version" "" $.Values.helm.releases }}
sourceRef:
kind: HelmRepository
name: appscode-charts-oci
namespace: {{ .Release.Namespace }}
valuesFrom:
- kind: Secret
name: ace-licenseserver-cred
valuesKey: license-proxyserver.yaml
optional: true
{{- if eq (include "clustermanager.openshift" $) "true" }}
- kind: ConfigMap
name: ace-openshift-scc
valuesKey: license-proxyserver.yaml
{{- end }}
{{- with $vals }}
{{- dict "values" . | toYaml | nindent 2 }}
{{- end }}