Skip to content

Commit b8d3df6

Browse files
authored
misc: update kubernetes manifest documentation (#197)
Updated the documentation for creating the secret to be consistent with Helm.
1 parent 7daebc7 commit b8d3df6

1 file changed

Lines changed: 7 additions & 13 deletions

File tree

README.adoc

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -72,19 +72,13 @@ helm install <RELEASE_NAME> \
7272

7373
Create the following `Secret` to hold the Oxide credentials.
7474

75-
[source,yaml]
76-
----
77-
---
78-
apiVersion: v1
79-
kind: Secret
80-
metadata:
81-
name: oxide-cloud-controller-manager
82-
namespace: kube-system
83-
type: Opaque
84-
stringData:
85-
oxide-host: "https://oxide.sys.example.com"
86-
oxide-token: "oxide-token-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
87-
oxide-project: "example"
75+
[source,shell]
76+
----
77+
kubectl create secret generic oxide-cloud-controller-manager \
78+
--namespace kube-system \
79+
--from-literal=oxide-host=https://oxide.sys.example.com \
80+
--from-literal=oxide-token=oxide-token-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX \
81+
--from-literal=oxide-project=example
8882
----
8983

9084
Apply the

0 commit comments

Comments
 (0)