Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
ef10295e
Commit
ef10295e
authored
Aug 22, 2018
by
Cory Johns
Committed by
cdkbot
Aug 27, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add missing config for Azure integration
parent
99a631fc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
+12
-2
kubernetes_master.py
...ju/layers/kubernetes-master/reactive/kubernetes_master.py
+6
-1
kubernetes_worker.py
...ju/layers/kubernetes-worker/reactive/kubernetes_worker.py
+6
-1
No files found.
cluster/juju/layers/kubernetes-master/reactive/kubernetes_master.py
View file @
ef10295e
...
@@ -1891,6 +1891,11 @@ def _write_azure_snap_config(component):
...
@@ -1891,6 +1891,11 @@ def _write_azure_snap_config(component):
cloud_config_path
.
write_text
(
json
.
dumps
({
cloud_config_path
.
write_text
(
json
.
dumps
({
'useInstanceMetadata'
:
True
,
'useInstanceMetadata'
:
True
,
'useManagedIdentityExtension'
:
True
,
'useManagedIdentityExtension'
:
True
,
'resourceGroup'
:
azure
.
resource_group
,
'subscriptionId'
:
azure
.
subscription_id
,
'subscriptionId'
:
azure
.
subscription_id
,
'resourceGroup'
:
azure
.
resource_group
,
'location'
:
azure
.
resource_group_location
,
'vnetName'
:
azure
.
vnet_name
,
'vnetResourceGroup'
:
azure
.
vnet_resource_group
,
'subnetName'
:
azure
.
subnet_name
,
'securityGroupName'
:
azure
.
security_group_name
,
}))
}))
cluster/juju/layers/kubernetes-worker/reactive/kubernetes_worker.py
View file @
ef10295e
...
@@ -1425,8 +1425,13 @@ def _write_azure_snap_config(component):
...
@@ -1425,8 +1425,13 @@ def _write_azure_snap_config(component):
cloud_config_path
.
write_text
(
json
.
dumps
({
cloud_config_path
.
write_text
(
json
.
dumps
({
'useInstanceMetadata'
:
True
,
'useInstanceMetadata'
:
True
,
'useManagedIdentityExtension'
:
True
,
'useManagedIdentityExtension'
:
True
,
'resourceGroup'
:
azure
.
resource_group
,
'subscriptionId'
:
azure
.
subscription_id
,
'subscriptionId'
:
azure
.
subscription_id
,
'resourceGroup'
:
azure
.
resource_group
,
'location'
:
azure
.
resource_group_location
,
'vnetName'
:
azure
.
vnet_name
,
'vnetResourceGroup'
:
azure
.
vnet_resource_group
,
'subnetName'
:
azure
.
subnet_name
,
'securityGroupName'
:
azure
.
security_group_name
,
}))
}))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment