Merge "Adaptations for OVS-DPDK blueprint"
[yaml_builds.git] / site_type / ovsdpdk-a13 / templates / software / charts / ucp / divingbell / divingbell.j2
diff --git a/site_type/ovsdpdk-a13/templates/software/charts/ucp/divingbell/divingbell.j2 b/site_type/ovsdpdk-a13/templates/software/charts/ucp/divingbell/divingbell.j2
new file mode 100644 (file)
index 0000000..98d6506
--- /dev/null
@@ -0,0 +1,56 @@
+---
+# The purpose of this file is to define site-specific parameters to the
+# UAM-lite portion of the divingbell chart:
+# 1. User accounts to create on bare metal
+# 2. SSH public key for operationg system access to the bare metal
+# 3. Passwords for operating system access via iDrac/iLo console. SSH password-
+#    based auth is disabled.
+schema: armada/Chart/v1
+metadata:
+  schema: metadata/Document/v1
+  name: ucp-divingbell
+  layeringDefinition:
+    abstract: false
+    layer: site
+    parentSelector:
+      name: ucp-divingbell-global
+    actions:
+      - method: merge
+        path: .
+  labels:
+    name: ucp-divingbell-site
+  storagePolicy: cleartext
+  substitutions:
+    - dest:
+        path: .values.conf.uamlite.users[0].user_sshkeys[0]
+      src:
+        schema: deckhand/PublicKey/v1
+        name: airship_ssh_public_key
+        path: .
+    - dest:
+        path: .values.conf.uamlite.users[0].user_crypt_passwd
+      src:
+        schema: deckhand/Passphrase/v1
+        name: ubuntu_crypt_password
+        path: .
+    - dest:
+        path: .values.conf.uamlite.users[0].user_sshkeys[1]
+      src:
+        schema: deckhand/PublicKey/v1
+        name: localadmin_ssh_public_key
+        path: .
+data:
+  values:
+    conf:
+      uamlite:
+        users:
+          - user_name: localadmin
+            user_sudo: true
+            user_sshkeys: []
+      mounts:
+        mnt1:
+          mnt_tgt: /dev/hugepages_1G
+          device: none
+          type: hugetlbfs
+          options: 'mode=775,pagesize=1G'
+...