39 lines
880 B
YAML
39 lines
880 B
YAML
---
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: assetlinks
|
|
labels:
|
|
{{- include "hrbox.labels" (dict "ctx" . "name" "web") | nindent 4 }}
|
|
data:
|
|
assetlinks.json: |
|
|
[
|
|
{{- range $i, $app := .Values.app.mobileApps.android }}
|
|
{{- if $i }},{{ end }}
|
|
{
|
|
"relation": ["delegate_permission/common.handle_all_urls"],
|
|
"target": {
|
|
"namespace": "android_app",
|
|
"package_name": {{ $app.packageName | quote }},
|
|
"sha256_cert_fingerprints": {{ toJson $app.sha256CertFingerprints }}
|
|
}
|
|
}
|
|
{{- end }}
|
|
]
|
|
|
|
apple-app-site-association: |
|
|
{
|
|
"applinks": {
|
|
"details": [
|
|
{
|
|
"appIDs": {{ toJson .Values.app.mobileApps.apple.appIds }},
|
|
"components": [
|
|
{
|
|
"/": "/*"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|