-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
27 changed files
with
932 additions
and
918 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,9 +1,14 @@ | ||
package consts | ||
|
||
const ( | ||
ClusterIDconfigMapName = "cluster-id" | ||
MasterLabel = "node-role.kubernetes.io/master" | ||
ServiceAccount = "/var/run/secrets/kubernetes.io/serviceaccount/namespace" | ||
ConfigMapKey = "cluster-id" | ||
ClusterIDLabelName = "clusterID" | ||
// ClusterIDConfigMapName is the name of the configmap where the cluster-id is stored. | ||
ClusterIDConfigMapName = "cluster-id" | ||
// MasterLabel contains the label used to identify the master nodes. | ||
MasterLabel = "node-role.kubernetes.io/master" | ||
// ServiceAccountNamespacePath contains the path where the namespace is stored in the serviceaccount volume mount. | ||
ServiceAccountNamespacePath = "/var/run/secrets/kubernetes.io/serviceaccount/namespace" | ||
// ClusterIDLabelName is the name of the label key to use with Cluster ID. | ||
ClusterIDLabelName = "cluster-id" | ||
// ClusterIDConfigMapKey is the key of the configmap where the cluster-id is stored. | ||
ClusterIDConfigMapKey = "cluster-id" | ||
) |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.