Skip to content
This repository has been archived by the owner on Jun 23, 2020. It is now read-only.

Configure flexvolume driver with secret #113

Merged
merged 2 commits into from
Jun 1, 2018

Conversation

harveylowndes
Copy link
Contributor

@harveylowndes harveylowndes commented May 10, 2018

Fix: #109

Splits the daemon set into two: one for the master nodes and one for the worker nodes. The configuration file can be configured in a secret which is then placed on the master nodes.

kubectl create secret generic oci-flexvolume-driver \ -n kube-system \ --from-file=config.yaml=config.yaml

@harveylowndes harveylowndes force-pushed the configure-flexvolume-driver-with-secret branch 2 times, most recently from 85ebf05 to 1976ac4 Compare May 10, 2018 09:49
@harveylowndes harveylowndes force-pushed the configure-flexvolume-driver-with-secret branch from 1976ac4 to 98879c7 Compare May 14, 2018 12:49
@@ -16,13 +16,13 @@ installed on every node in your Kubernetes cluster.

### Kubernetes DaemonSet Installer

The recommended way to install the driver is through the daemonset installer mechanism.
The recommended way to install the driver is through the daemonset installer mechanism. This will create two daemonsets, one specifically for master nodes, allowing configuration via a Kubernetes Secret, and one for worker nodes.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check working here.

--from-file=config.yaml=config.yaml
```

Once the Secret is set and the daemonsets deployed, the configuration file will be placed onto the master nodes.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does the user need to know this?

@owainlewis
Copy link
Member

@harveylowndes needs a rebase to resolve conflicts.

@owainlewis owainlewis merged commit 24d18a0 into master Jun 1, 2018
@owainlewis owainlewis deleted the configure-flexvolume-driver-with-secret branch June 1, 2018 09:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants