-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
salt/solutions: Deploy Solutions K8s dependencies
Some objects are required for MetalK8s to manage Solutions, notably a Namespace and ConfigMap for Admin UIs, and the `Environment` CRD. Issue: #1852
- Loading branch information
Showing
6 changed files
with
37 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
include: | ||
- .environment-crd | ||
- .namespace | ||
- .uis-configmap |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!kubernetes kubeconfig=/etc/kubernetes/admin.conf&context=kubernetes-admin@kubernetes | ||
|
||
apiVersion: v1 | ||
kind: Namespace | ||
metadata: | ||
name: metalk8s-solutions | ||
labels: | ||
app.kubernetes.io/managed-by: metalk8s | ||
app.kubernetes.io/part-of: metalk8s | ||
heritage: metalk8s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!jinja | kubernetes kubeconfig=/etc/kubernetes/admin.conf&context=kubernetes-admin@kubernetes | ||
|
||
{%- from "metalk8s/map.jinja" import repo with context %} | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: ui-branding | ||
namespace: metalk8s-solutions | ||
data: | ||
config.json: | | ||
{ | ||
"url": "https://{{ pillar.metalk8s.api_server.host }}:6443", | ||
"registry_prefix": "{{ repo.registry_endpoint }}" | ||
} | ||
theme.json: | | ||
{ | ||
"brand": {"primary": "#403e40", "secondary": "#e99121"} | ||
} |