-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #190 from deitch/packet
Support for Packet provider as a driver
- Loading branch information
Showing
79 changed files
with
5,988 additions
and
275 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Sample secret for GCP | ||
|
||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: test-secret # Name of the secret | ||
namespace: default # Namespace of the secret | ||
data: | ||
userData: "encoded-cloud-config" # packet cloud config file (base64 encoded) | ||
packetAPIKey: "{...}" # packet API key (base64 encoded) | ||
type: Opaque |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Sample Packet machine class | ||
|
||
apiVersion: machine.sapcloud.io/v1alpha1 | ||
kind: PacketMachineClass | ||
metadata: | ||
name: test-packet # Name of packet machine class goes here | ||
namespace: default # Namespace in which the machine class is to be deployed | ||
spec: | ||
projectID: f40c6787-5ac0-657e-9fe4-62d433c5df11 # UUID of a project with which you have rights | ||
OS: alpine_3 # OS ID or slug goes here | ||
facility: | ||
- EWR1 # Facilities wherein the server can be deployed. Can be one, two or many, or the keyword "any" | ||
- AMS1 | ||
machineType: x1.small # Type of packet bare-metal machine | ||
tags: | ||
Name: sample-machine-name # Name tag that can be used to identify a machine at Packet | ||
kubernetes.io/cluster/YOUR_CLUSTER_NAME: "1" # This is mandatory as the safety controller uses this tag to identify VMs created by this controller. | ||
kubernetes.io/role/YOUR_ROLE_NAME: "1" # This is mandatory as the safety controller uses this tag to identify VMs created by by this controller. | ||
tag1: tag1-value # A set of additional tags attached to a machine (optional) | ||
tag2: tag2-value # A set of additional tags attached to a machine (optional) | ||
secretRef: # Secret pointing to a secret which contains the provider secret and cloudconfig | ||
namespace: default # Namespace | ||
name: test-secret # Name of the secret |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.