Skip to content

Commit

Permalink
Enabled identity by default (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathan-innis authored Aug 27, 2021
1 parent dd991f0 commit 01deb1e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 30 deletions.
2 changes: 0 additions & 2 deletions src/k8s-extension/azext_k8s_extension/custom.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

from .partner_extensions.ContainerInsights import ContainerInsights
from .partner_extensions.AzureDefender import AzureDefender
from .partner_extensions.DefaultExtensionWithIdentity import DefaultExtensionWithIdentity
from .partner_extensions.AzureMLKubernetes import AzureMLKubernetes
from .partner_extensions.OpenServiceMesh import OpenServiceMesh
from .partner_extensions.DefaultExtension import DefaultExtension
Expand All @@ -35,7 +34,6 @@ def ExtensionFactory(extension_name):
'microsoft.azuredefender.kubernetes': AzureDefender,
'microsoft.openservicemesh': OpenServiceMesh,
'microsoft.azureml.kubernetes': AzureMLKubernetes,
'cassandradatacentersoperator': DefaultExtensionWithIdentity,
}

# Return the extension if we find it in the map, else return the default
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def Create(self, cmd, client, resource_group_name, cluster_name, name, cluster_t
scope_namespace = ScopeNamespace(target_namespace=target_namespace)
ext_scope = Scope(namespace=scope_namespace, cluster=None)

create_identity = False
create_identity = True
extension_instance = ExtensionInstance(
extension_type=extension_type,
auto_upgrade_minor_version=auto_upgrade_minor_version,
Expand Down

This file was deleted.

0 comments on commit 01deb1e

Please sign in to comment.