Skip to content

Commit 25e2430

Browse files
feat: updating konnector secret
1 parent c0feb1c commit 25e2430

7 files changed

+14
-84
lines changed

examples/capi-quick-start/nutanix-cluster-calico-crs.yaml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,8 @@ metadata:
2525
cluster.x-k8s.io/provider: nutanix
2626
name: ${CLUSTER_NAME}-pc-creds-for-konnector-agent
2727
stringData:
28-
credentials: |
29-
[
30-
{
31-
"type": "basic_auth",
32-
"data": {
33-
"prismCentral":{
34-
"username": "${NUTANIX_USER}",
35-
"password": "${NUTANIX_PASSWORD}"
36-
}
37-
}
38-
}
39-
]
28+
password: ${NUTANIX_PASSWORD}
29+
username: ${NUTANIX_USER}
4030
---
4131
apiVersion: v1
4232
kind: Secret

examples/capi-quick-start/nutanix-cluster-calico-helm-addon.yaml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,8 @@ metadata:
2525
cluster.x-k8s.io/provider: nutanix
2626
name: ${CLUSTER_NAME}-pc-creds-for-konnector-agent
2727
stringData:
28-
credentials: |
29-
[
30-
{
31-
"type": "basic_auth",
32-
"data": {
33-
"prismCentral":{
34-
"username": "${NUTANIX_USER}",
35-
"password": "${NUTANIX_PASSWORD}"
36-
}
37-
}
38-
}
39-
]
28+
password: ${NUTANIX_PASSWORD}
29+
username: ${NUTANIX_USER}
4030
---
4131
apiVersion: v1
4232
kind: Secret

examples/capi-quick-start/nutanix-cluster-cilium-crs.yaml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,8 @@ metadata:
2525
cluster.x-k8s.io/provider: nutanix
2626
name: ${CLUSTER_NAME}-pc-creds-for-konnector-agent
2727
stringData:
28-
credentials: |
29-
[
30-
{
31-
"type": "basic_auth",
32-
"data": {
33-
"prismCentral":{
34-
"username": "${NUTANIX_USER}",
35-
"password": "${NUTANIX_PASSWORD}"
36-
}
37-
}
38-
}
39-
]
28+
password: ${NUTANIX_PASSWORD}
29+
username: ${NUTANIX_USER}
4030
---
4131
apiVersion: v1
4232
kind: Secret

examples/capi-quick-start/nutanix-cluster-cilium-helm-addon.yaml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,8 @@ metadata:
2525
cluster.x-k8s.io/provider: nutanix
2626
name: ${CLUSTER_NAME}-pc-creds-for-konnector-agent
2727
stringData:
28-
credentials: |
29-
[
30-
{
31-
"type": "basic_auth",
32-
"data": {
33-
"prismCentral":{
34-
"username": "${NUTANIX_USER}",
35-
"password": "${NUTANIX_PASSWORD}"
36-
}
37-
}
38-
}
39-
]
28+
password: ${NUTANIX_PASSWORD}
29+
username: ${NUTANIX_USER}
4030
---
4131
apiVersion: v1
4232
kind: Secret

examples/capi-quick-start/nutanix-cluster-with-failuredomains-cilium-crs.yaml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -61,18 +61,8 @@ metadata:
6161
cluster.x-k8s.io/provider: nutanix
6262
name: ${CLUSTER_NAME}-pc-creds-for-konnector-agent
6363
stringData:
64-
credentials: |
65-
[
66-
{
67-
"type": "basic_auth",
68-
"data": {
69-
"prismCentral":{
70-
"username": "${NUTANIX_USER}",
71-
"password": "${NUTANIX_PASSWORD}"
72-
}
73-
}
74-
}
75-
]
64+
password: ${NUTANIX_PASSWORD}
65+
username: ${NUTANIX_USER}
7666
---
7767
apiVersion: v1
7868
kind: Secret

examples/capi-quick-start/nutanix-cluster-with-failuredomains-cilium-helm-addon.yaml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -61,18 +61,8 @@ metadata:
6161
cluster.x-k8s.io/provider: nutanix
6262
name: ${CLUSTER_NAME}-pc-creds-for-konnector-agent
6363
stringData:
64-
credentials: |
65-
[
66-
{
67-
"type": "basic_auth",
68-
"data": {
69-
"prismCentral":{
70-
"username": "${NUTANIX_USER}",
71-
"password": "${NUTANIX_PASSWORD}"
72-
}
73-
}
74-
}
75-
]
64+
password: ${NUTANIX_PASSWORD}
65+
username: ${NUTANIX_USER}
7666
---
7767
apiVersion: v1
7868
kind: Secret

hack/examples/additional-resources/nutanix/konnector-agent-secret.yaml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,5 @@ kind: Secret
77
metadata:
88
name: ${CLUSTER_NAME}-pc-creds-for-konnector-agent
99
stringData:
10-
credentials: |
11-
[
12-
{
13-
"type": "basic_auth",
14-
"data": {
15-
"prismCentral":{
16-
"username": "${NUTANIX_USER}",
17-
"password": "${NUTANIX_PASSWORD}"
18-
}
19-
}
20-
}
21-
]
10+
username: "${NUTANIX_USER}"
11+
password: "${NUTANIX_PASSWORD}"

0 commit comments

Comments
 (0)