Skip to content

Commit

Permalink
Merge pull request #144 from Jaganathancse/bmset_root_password
Browse files Browse the repository at this point in the history
Adding baremetalset root password changes
  • Loading branch information
abays authored Apr 1, 2024
2 parents fc0f8c0 + 3441ac0 commit 554f039
Show file tree
Hide file tree
Showing 9 changed files with 78 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/va/nfv/ovs-dpdk-sriov/edpm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,17 @@ metadata:
annotations:
config.kubernetes.io/local-config: "true"
data:
root_password: cmVkaGF0Cg==
preProvisioned: false
baremetalSetTemplate:
ctlplaneInterface: eno2 #CHANGEME
cloudUserName: cloud-admin
provisioningInterface: enp1s0 #CHANGEME
bmhLabelSelector:
app: openstack #CHANGEME
passwordSecret:
name: baremetalset-password-secret
namespace: openstack
ssh_keys:
# Authorized keys that will have access to the dataplane computes via SSH
authorized: CHANGEME
Expand Down
4 changes: 4 additions & 0 deletions examples/va/nfv/ovs-dpdk/edpm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,17 @@ metadata:
annotations:
config.kubernetes.io/local-config: "true"
data:
root_password: cmVkaGF0Cg==
preProvisioned: false
baremetalSetTemplate:
ctlplaneInterface: eno2 #CHANGEME
cloudUserName: cloud-admin
provisioningInterface: enp1s0 #CHANGEME
bmhLabelSelector:
app: openstack #CHANGEME
passwordSecret:
name: baremetalset-password-secret
namespace: openstack
ssh_keys:
# Authorized keys that will have access to the dataplane computes via SSH
authorized: CHANGEME
Expand Down
4 changes: 4 additions & 0 deletions examples/va/nfv/sriov/edpm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,17 @@ metadata:
annotations:
config.kubernetes.io/local-config: "true"
data:
root_password: cmVkaGF0Cg==
preProvisioned: false
baremetalSetTemplate:
ctlplaneInterface: eno2 #CHANGEME
cloudUserName: cloud-admin
provisioningInterface: enp1s0 #CHANGEME
bmhLabelSelector:
app: openstack #CHANGEME
passwordSecret:
name: baremetalset-password-secret
namespace: openstack
ssh_keys:
# Authorized keys that will have access to the dataplane computes via SSH
authorized: CHANGEME
Expand Down
8 changes: 8 additions & 0 deletions va/nfv/ovs-dpdk-sriov/edpm/baremetalset-password-secret.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
apiVersion: v1
data:
NodeRootPassword: _replaced_
kind: Secret
metadata:
name: baremetalset-password-secret
namespace: openstack
type: Opaque
14 changes: 14 additions & 0 deletions va/nfv/ovs-dpdk-sriov/edpm/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,23 @@ components:
- ../../../../lib/dataplane

resources:
- baremetalset-password-secret.yaml
- nova_ovs_dpdk_sriov.yaml

replacements:
- source:
kind: ConfigMap
name: edpm-values
fieldPath: data.root_password
targets:
- select:
kind: Secret
name: baremetalset-password-secret
fieldPaths:
- data.NodeRootPassword
options:
create: true

# Nova compute CPU pinning customization
- source:
kind: ConfigMap
Expand Down
8 changes: 8 additions & 0 deletions va/nfv/ovs-dpdk/edpm/baremetalset-password-secret.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
apiVersion: v1
data:
NodeRootPassword: _replaced_
kind: Secret
metadata:
name: baremetalset-password-secret
namespace: openstack
type: Opaque
14 changes: 14 additions & 0 deletions va/nfv/ovs-dpdk/edpm/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,23 @@ components:
- ../../../../lib/dataplane

resources:
- baremetalset-password-secret.yaml
- nova_ovs_dpdk.yaml

replacements:
- source:
kind: ConfigMap
name: edpm-values
fieldPath: data.root_password
targets:
- select:
kind: Secret
name: baremetalset-password-secret
fieldPaths:
- data.NodeRootPassword
options:
create: true

# Nova compute CPU pinning customization
- source:
kind: ConfigMap
Expand Down
8 changes: 8 additions & 0 deletions va/nfv/sriov/edpm/baremetalset-password-secret.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
apiVersion: v1
data:
NodeRootPassword: _replaced_
kind: Secret
metadata:
name: baremetalset-password-secret
namespace: openstack
type: Opaque
14 changes: 14 additions & 0 deletions va/nfv/sriov/edpm/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,23 @@ components:
- ../../../../lib/dataplane

resources:
- baremetalset-password-secret.yaml
- nova_sriov.yaml

replacements:
- source:
kind: ConfigMap
name: edpm-values
fieldPath: data.root_password
targets:
- select:
kind: Secret
name: baremetalset-password-secret
fieldPaths:
- data.NodeRootPassword
options:
create: true

# Nova compute CPU pinning customization
- source:
kind: ConfigMap
Expand Down

0 comments on commit 554f039

Please sign in to comment.