summaryrefslogtreecommitdiffstats
path: root/site/intel-pod15/software/charts/ucp/divingbell/divingbell.yaml
blob: 7e5adb0c08926e7a30ecb92fde8b4029e9f5363c (plain)
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
---
# 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: opnfv_ssh_public_key
        path: .
    - dest:
        path: .values.conf.uamlite.users[1].user_sshkeys[0]
      src:
        schema: deckhand/PublicKey/v1
        name: sridhar_ssh_public_key
        path: .
    - dest:
        path: .values.conf.uamlite.users[1].user_crypt_passwd
      src:
        schema: deckhand/Passphrase/v1
        name: sridhar_crypt_password
        path: .
    - dest:
        path: .values.conf.uamlite.users[2].user_sshkeys[0]
      src:
        schema: deckhand/PublicKey/v1
        name: mfix_ssh_public_key
        path: .
    - dest:
        path: .values.conf.uamlite.users[2].user_crypt_passwd
      src:
        schema: deckhand/Passphrase/v1
        name: mfix_crypt_password
        path: .
    - dest:
        path: .values.conf.uamlite.users[3].user_sshkeys[0]
      src:
        schema: deckhand/PublicKey/v1
        name: cedric_ssh_public_key
        path: .
    - dest:
        path: .values.conf.uamlite.users[3].user_crypt_passwd
      src:
        schema: deckhand/Passphrase/v1
        name: cedric_crypt_password
        path: .
data:
  values:
    conf:
      uamlite:
        users:
          - user_name: opnfv
            user_sudo: true
            user_sshkeys: []
          - user_name: sridhar
            user_sudo: true
            user_sshkeys: []
          - user_name: mfix
            user_sudo: true
            user_sshkeys: []
          - user_name: cedric
            user_sudo: true
            user_sshkeys: []
...