Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,15 +1,20 @@
# Release History

## 5.0.1 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes


## 5.1.0 (2022-06-10)

**Features**

- Added Interface AzureBlobDefinition
- Added Interface AzureBlobPatchDefinition
- Added Interface ManagedIdentityDefinition
- Added Interface ManagedIdentityPatchDefinition
- Added Interface ServicePrincipalDefinition
- Added Interface ServicePrincipalPatchDefinition
- Interface FluxConfigurationPatch has a new optional parameter azureBlob
- Type Alias FluxConfiguration has a new parameter azureBlob
- Enum KnownSourceKindType has a new value AzureBlob


## 5.0.0 (2022-04-06)

The package of @azure/arm-kubernetesconfiguration is using our next generation design principles since version 5.0.0, which contains breaking changes.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "e4b7e666673125aeb2b130f2a196e6aa7f8aca72",
"commit": "fbbfd912a72207722744a9d7706e198626554fec",
"readme": "specification/kubernetesconfiguration/resource-manager/readme.md",
"autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\work\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\kubernetesconfiguration\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-alpha.18.20220329.1 --generate-sample=true",
"autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/kubernetesconfiguration/resource-manager/readme.md --use=@autorest/typescript@6.0.0-alpha.19.20220425.1",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/js-sdk-release-tools@2.2.1",
"use": "@autorest/typescript@6.0.0-alpha.18.20220329.1"
"release_tool": "@azure-tools/js-sdk-release-tools@2.3.1",
"use": "@autorest/typescript@6.0.0-alpha.19.20220425.1"
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for SourceControlConfigurationClient.",
"version": "5.0.1",
"version": "5.1.0",
"engines": {
"node": ">=12.0.0"
},
"dependencies": {
"@azure/core-lro": "^2.2.0",
"@azure/abort-controller": "^1.0.0",
"@azure/core-paging": "^1.2.0",
"@azure/core-client": "^1.0.0",
"@azure/core-client": "^1.5.0",
"@azure/core-auth": "^1.3.0",
"@azure/core-rest-pipeline": "^1.1.0",
"@azure/core-rest-pipeline": "^1.8.0",
"tslib": "^2.2.0"
},
"keywords": [
Expand All @@ -40,9 +40,11 @@
"uglify-js": "^3.4.9",
"rimraf": "^3.0.0",
"@azure/identity": "^2.0.1",
"@azure-tools/test-recorder": "^1.0.0",
"@azure-tools/test-recorder": "^2.0.0",
"@azure-tools/test-credential": "^1.0.0",
"mocha": "^7.1.1",
"cross-env": "^7.0.2"
"cross-env": "^7.0.2",
"@azure/dev-tool": "^1.0.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/kubernetesconfiguration/arm-kubernetesconfiguration",
"repository": {
Expand Down Expand Up @@ -93,7 +95,7 @@
"unit-test:node": "cross-env TEST_MODE=playback npm run integration-test:node",
"unit-test:browser": "echo skipped",
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
"integration-test:node": "mocha -r esm --require ts-node/register --timeout 1200000 --full-trace test/*.ts --reporter ../../../common/tools/mocha-multi-reporter.js",
"integration-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 'test/*.ts'",
"integration-test:browser": "echo skipped",
"docs": "echo skipped"
},
Expand All @@ -106,13 +108,5 @@
}
]
},
"autoPublish": true,
"//sampleConfiguration": {
"productName": "",
"productSlugs": [
"azure"
],
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-kubernetesconfiguration?view=azure-node-preview"
}
}
"autoPublish": true
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,32 @@ import { PollOperationState } from '@azure/core-lro';
// @public
export type AKSIdentityType = "SystemAssigned" | "UserAssigned";

// @public
export interface AzureBlobDefinition {
accountKey?: string;
containerName?: string;
localAuthRef?: string;
managedIdentity?: ManagedIdentityDefinition;
sasToken?: string;
servicePrincipal?: ServicePrincipalDefinition;
syncIntervalInSeconds?: number;
timeoutInSeconds?: number;
url?: string;
}

// @public
export interface AzureBlobPatchDefinition {
accountKey?: string;
containerName?: string;
localAuthRef?: string;
managedIdentity?: ManagedIdentityPatchDefinition;
sasToken?: string;
servicePrincipal?: ServicePrincipalPatchDefinition;
syncIntervalInSeconds?: number;
timeoutInSeconds?: number;
url?: string;
}

// @public
export interface BucketDefinition {
accessKey?: string;
Expand Down Expand Up @@ -199,6 +225,7 @@ export type FluxConfiguration = ProxyResource & {
suspend?: boolean;
gitRepository?: GitRepositoryDefinition;
bucket?: BucketDefinition;
azureBlob?: AzureBlobDefinition;
kustomizations?: {
[propertyName: string]: KustomizationDefinition | null;
};
Expand All @@ -217,6 +244,7 @@ export type FluxConfiguration = ProxyResource & {

// @public
export interface FluxConfigurationPatch {
azureBlob?: AzureBlobPatchDefinition;
bucket?: BucketPatchDefinition;
configurationProtectedSettings?: {
[propertyName: string]: string;
Expand Down Expand Up @@ -463,6 +491,8 @@ export enum KnownScopeType {

// @public
export enum KnownSourceKindType {
// (undocumented)
AzureBlob = "AzureBlob",
// (undocumented)
Bucket = "Bucket",
// (undocumented)
Expand Down Expand Up @@ -498,6 +528,16 @@ export type KustomizationValidationType = string;
// @public
export type LevelType = string;

// @public
export interface ManagedIdentityDefinition {
clientId?: string;
}

// @public
export interface ManagedIdentityPatchDefinition {
clientId?: string;
}

// @public
export type MessageLevelType = string;

Expand Down Expand Up @@ -674,6 +714,26 @@ export interface ScopeNamespace {
// @public
export type ScopeType = string;

// @public
export interface ServicePrincipalDefinition {
clientCertificate?: string;
clientCertificatePassword?: string;
clientCertificateSendChain?: boolean;
clientId?: string;
clientSecret?: string;
tenantId?: string;
}

// @public
export interface ServicePrincipalPatchDefinition {
clientCertificate?: string;
clientCertificatePassword?: string;
clientCertificateSendChain?: boolean;
clientId?: string;
clientSecret?: string;
tenantId?: string;
}

// @public
export type SourceControlConfiguration = ProxyResource & {
readonly systemData?: SystemData;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -235,24 +235,68 @@ export interface RepositoryRefDefinition {
commit?: string;
}

/** Parameters to reconcile to the GitRepository source kind type. */
/** Parameters to reconcile to the Bucket source kind type. */
export interface BucketDefinition {
/** The URL to sync for the flux configuration S3 bucket. */
url?: string;
/** The bucket name to sync from the url endpoint for the flux configuration. */
bucketName?: string;
/** Specify whether to use insecure communication when puling data from the S3 bucket. */
insecure?: boolean;
/** The maximum time to attempt to reconcile the cluster git repository source with the remote. */
/** The maximum time to attempt to reconcile the cluster bucket source with the remote. */
timeoutInSeconds?: number;
/** The interval at which to re-reconcile the cluster git repository source with the remote. */
/** The interval at which to re-reconcile the cluster bucket source with the remote. */
syncIntervalInSeconds?: number;
/** Plaintext access key used to securely access the S3 bucket */
accessKey?: string;
/** Name of a local secret on the Kubernetes cluster to use as the authentication secret rather than the managed or user-provided configuration secrets. */
localAuthRef?: string;
}

/** Parameters to reconcile to the AzureBlob source kind type. */
export interface AzureBlobDefinition {
/** The URL to sync for the flux configuration Azure Blob storage account. */
url?: string;
/** The Azure Blob container name to sync from the url endpoint for the flux configuration. */
containerName?: string;
/** The maximum time to attempt to reconcile the cluster Azure Blob source with the remote. */
timeoutInSeconds?: number;
/** The interval at which to re-reconcile the cluster Azure Blob source with the remote. */
syncIntervalInSeconds?: number;
/** Parameters to authenticate using Service Principal. */
servicePrincipal?: ServicePrincipalDefinition;
/** The account key (shared key) to access the storage account */
accountKey?: string;
/** The Shared Access token to access the storage container */
sasToken?: string;
/** Parameters to authenticate using a Managed Identity. */
managedIdentity?: ManagedIdentityDefinition;
/** Name of a local secret on the Kubernetes cluster to use as the authentication secret rather than the managed or user-provided configuration secrets. */
localAuthRef?: string;
}

/** Parameters to authenticate using Service Principal. */
export interface ServicePrincipalDefinition {
/** The client Id for authenticating a Service Principal. */
clientId?: string;
/** The tenant Id for authenticating a Service Principal */
tenantId?: string;
/** The client secret for authenticating a Service Principal */
clientSecret?: string;
/** Base64-encoded certificate used to authenticate a Service Principal */
clientCertificate?: string;
/** The password for the certificate used to authenticate a Service Principal */
clientCertificatePassword?: string;
/** Specifies whether to include x5c header in client claims when acquiring a token to enable subject name / issuer based authentication for the Client Certificate */
clientCertificateSendChain?: boolean;
}

/** Parameters to authenticate using a Managed Identity. */
export interface ManagedIdentityDefinition {
/** The client Id for authenticating a Managed Identity. */
clientId?: string;
}

/** The Kustomization defining how to reconcile the artifact pulled by the source type on the cluster. */
export interface KustomizationDefinition {
/**
Expand Down Expand Up @@ -340,6 +384,8 @@ export interface FluxConfigurationPatch {
gitRepository?: GitRepositoryPatchDefinition;
/** Parameters to reconcile to the Bucket source kind type. */
bucket?: BucketPatchDefinition;
/** Parameters to reconcile to the AzureBlob source kind type. */
azureBlob?: AzureBlobPatchDefinition;
/** Array of kustomizations used to reconcile the artifact pulled by the source type on the cluster. */
kustomizations?: {
[propertyName: string]: KustomizationPatchDefinition | null;
Expand Down Expand Up @@ -368,24 +414,68 @@ export interface GitRepositoryPatchDefinition {
localAuthRef?: string;
}

/** Parameters to reconcile to the GitRepository source kind type. */
/** Parameters to reconcile to the Bucket source kind type. */
export interface BucketPatchDefinition {
/** The URL to sync for the flux configuration S3 bucket. */
url?: string;
/** The bucket name to sync from the url endpoint for the flux configuration. */
bucketName?: string;
/** Specify whether to use insecure communication when puling data from the S3 bucket. */
insecure?: boolean;
/** The maximum time to attempt to reconcile the cluster git repository source with the remote. */
/** The maximum time to attempt to reconcile the cluster bucket source with the remote. */
timeoutInSeconds?: number;
/** The interval at which to re-reconcile the cluster git repository source with the remote. */
/** The interval at which to re-reconcile the cluster bucket source with the remote. */
syncIntervalInSeconds?: number;
/** Plaintext access key used to securely access the S3 bucket */
accessKey?: string;
/** Name of a local secret on the Kubernetes cluster to use as the authentication secret rather than the managed or user-provided configuration secrets. */
localAuthRef?: string;
}

/** Parameters to reconcile to the AzureBlob source kind type. */
export interface AzureBlobPatchDefinition {
/** The URL to sync for the flux configuration Azure Blob storage account. */
url?: string;
/** The Azure Blob container name to sync from the url endpoint for the flux configuration. */
containerName?: string;
/** The maximum time to attempt to reconcile the cluster Azure Blob source with the remote. */
timeoutInSeconds?: number;
/** The interval at which to re-reconcile the cluster Azure Blob source with the remote. */
syncIntervalInSeconds?: number;
/** Parameters to authenticate using Service Principal. */
servicePrincipal?: ServicePrincipalPatchDefinition;
/** The account key (shared key) to access the storage account */
accountKey?: string;
/** The Shared Access token to access the storage container */
sasToken?: string;
/** Parameters to authenticate using a Managed Identity. */
managedIdentity?: ManagedIdentityPatchDefinition;
/** Name of a local secret on the Kubernetes cluster to use as the authentication secret rather than the managed or user-provided configuration secrets. */
localAuthRef?: string;
}

/** Parameters to authenticate using Service Principal. */
export interface ServicePrincipalPatchDefinition {
/** The client Id for authenticating a Service Principal. */
clientId?: string;
/** The tenant Id for authenticating a Service Principal */
tenantId?: string;
/** The client secret for authenticating a Service Principal */
clientSecret?: string;
/** Base64-encoded certificate used to authenticate a Service Principal */
clientCertificate?: string;
/** The password for the certificate used to authenticate a Service Principal */
clientCertificatePassword?: string;
/** Specifies whether to include x5c header in client claims when acquiring a token to enable subject name / issuer based authentication for the Client Certificate */
clientCertificateSendChain?: boolean;
}

/** Parameters to authenticate using a Managed Identity. */
export interface ManagedIdentityPatchDefinition {
/** The client Id for authenticating a Managed Identity. */
clientId?: string;
}

/** The Kustomization defining how to reconcile the artifact pulled by the source type on the cluster. */
export interface KustomizationPatchDefinition {
/** The path in the source reference to reconcile on the cluster. */
Expand Down Expand Up @@ -586,6 +676,8 @@ export type FluxConfiguration = ProxyResource & {
gitRepository?: GitRepositoryDefinition;
/** Parameters to reconcile to the Bucket source kind type. */
bucket?: BucketDefinition;
/** Parameters to reconcile to the AzureBlob source kind type. */
azureBlob?: AzureBlobDefinition;
/** Array of kustomizations used to reconcile the artifact pulled by the source type on the cluster. */
kustomizations?: { [propertyName: string]: KustomizationDefinition | null };
/** Key-value pairs of protected configuration settings for the configuration */
Expand Down Expand Up @@ -757,7 +849,8 @@ export type ScopeType = string;
/** Known values of {@link SourceKindType} that the service accepts. */
export enum KnownSourceKindType {
GitRepository = "GitRepository",
Bucket = "Bucket"
Bucket = "Bucket",
AzureBlob = "AzureBlob"
}

/**
Expand All @@ -766,7 +859,8 @@ export enum KnownSourceKindType {
* this enum contains the known values that the service supports.
* ### Known values supported by the service
* **GitRepository** \
* **Bucket**
* **Bucket** \
* **AzureBlob**
*/
export type SourceKindType = string;

Expand Down
Loading