-
Notifications
You must be signed in to change notification settings - Fork 5
/
ApplicationManifest.xml
73 lines (66 loc) · 3.59 KB
/
ApplicationManifest.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<?xml version="1.0" encoding="utf-8"?>
<ApplicationManifest ApplicationTypeName="TraefikType" ApplicationTypeVersion="1.0.0" xmlns="http://schemas.microsoft.com/2011/01/fabric" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Parameters>
<Parameter Name="Traefik_InstanceCount" DefaultValue="-1" />
<!-- Parameters for Traefik PreConfigurator. These can now be overriden in any Application Parameter to cater to specific cluster needs. -->
<Parameter Name="TraefikApplicationInsightsKey" DefaultValue=""/>
<Parameter Name="TraefikCertsToConfigure" DefaultValue=""/>
<Parameter Name="TraefikKeyVaultUri" DefaultValue=""/>
<Parameter Name="TraefikKeyVaultClientId" DefaultValue=""/>
<Parameter Name="TraefikKeyVaultClientCert" DefaultValue=""/>
<Parameter Name="TraefikUseManagedIdentityAuth" DefaultValue="false"/>
</Parameters>
<!-- Import the ServiceManifest from the ServicePackage. The ServiceManifestName and ServiceManifestVersion
should match the Name and Version attributes of the ServiceManifest element defined in the
ServiceManifest.xml file. -->
<!-- UNCOMMENT TO ENABLE WATCHDOG AS DEFAULT SERVICE -->
<!--<ServiceManifestImport>
<ServiceManifestRef ServiceManifestName="Watchdog" ServiceManifestVersion="1.0.0" />
<ConfigOverrides />
<Policies>
<RunAsPolicy CodePackageRef="Code" UserRef="AdminUser" EntryPointType="All" />
</Policies>
</ServiceManifestImport>-->
<ServiceManifestImport>
<ServiceManifestRef ServiceManifestName="TraefikPkg" ServiceManifestVersion="1.0.0" />
<ConfigOverrides />
<!-- Environment Overrides to allow overriding value for different environments -->
<EnvironmentOverrides CodePackageRef="Code">
<EnvironmentVariable Name="UseManagedIdentity" Value="[TraefikUseManagedIdentityAuth]"/>
<EnvironmentVariable Name="ApplicationInsightsKey" Value="[TraefikApplicationInsightsKey]"/>
<EnvironmentVariable Name="CertsToConfigure" Value="[TraefikCertsToConfigure]"/>
<EnvironmentVariable Name="KeyVaultUri" Value="[TraefikKeyVaultUri]"/>
<EnvironmentVariable Name="KeyVaultClientId" Value="[TraefikKeyVaultClientId]"/>
<EnvironmentVariable Name="KeyVaultClientCert" Value="[TraefikKeyVaultClientCert]"/>
</EnvironmentOverrides>
<Policies>
<RunAsPolicy CodePackageRef="Code" UserRef="AdminUser" EntryPointType="All" />
</Policies>
</ServiceManifestImport>
<DefaultServices>
<!-- The section below creates instances of service types, when an instance of this
application type is created. You can also create one or more instances of service type using the
ServiceFabric PowerShell module.
The attribute ServiceTypeName below must match the name defined in the imported ServiceManifest.xml file. -->
<Service Name="Traefik" ServicePackageActivationMode="ExclusiveProcess">
<StatelessService ServiceTypeName="TraefikType" InstanceCount="[Traefik_InstanceCount]">
<SingletonPartition />
</StatelessService>
</Service>
<!-- UNCOMMENT TO ENABLE WATCHDOG AS DEFAULT SERVICE -->
<!--<Service Name="Watchdog" ServicePackageActivationMode="ExclusiveProcess">
<StatelessService ServiceTypeName="WatchdogType" InstanceCount="[Traefik_InstanceCount]">
<SingletonPartition />
</StatelessService>
</Service>-->
</DefaultServices>
<Principals>
<Users>
<User Name="AdminUser">
<MemberOf>
<SystemGroup Name="Administrators" />
</MemberOf>
</User>
</Users>
</Principals>
</ApplicationManifest>