Skip to content

Commit 4b544eb

Browse files
vtomasr5jsonnet-libs-bot
authored andcommitted
update: source github.com/jsonnet-libs/k8s@590dcfe6
1 parent 9478cf1 commit 4b544eb

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+158835
-38185
lines changed
File renamed without changes.

2.2/_gen/argoproj/v1alpha1/appProject.libsonnet renamed to 2.10/_gen/argoproj/v1alpha1/appProject.libsonnet

+8-2
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,11 @@
6565
},
6666
'#destinations':: d.obj(help='"Destinations contains list of destinations available for deployment"'),
6767
destinations: {
68-
'#withName':: d.fn(help='"Name is an alternate way of specifying the target cluster by its symbolic name"', args=[d.arg(name='name', type=d.T.string)]),
68+
'#withName':: d.fn(help='"Name is an alternate way of specifying the target cluster by its symbolic name. This must be set if Server is not set."', args=[d.arg(name='name', type=d.T.string)]),
6969
withName(name): { name: name },
7070
'#withNamespace':: d.fn(help="\"Namespace specifies the target namespace for the application's resources. The namespace will only be set for namespace-scoped resources that have not set a value for .metadata.namespace\"", args=[d.arg(name='namespace', type=d.T.string)]),
7171
withNamespace(namespace): { namespace: namespace },
72-
'#withServer':: d.fn(help='"Server specifies the URL of the target cluster and must be set to the Kubernetes control plane API"', args=[d.arg(name='server', type=d.T.string)]),
72+
'#withServer':: d.fn(help="\"Server specifies the URL of the target cluster's Kubernetes control plane API. This must be set if Name is not set.\"", args=[d.arg(name='server', type=d.T.string)]),
7373
withServer(server): { server: server },
7474
},
7575
'#namespaceResourceBlacklist':: d.obj(help='"NamespaceResourceBlacklist contains list of blacklisted namespace level resources"'),
@@ -184,6 +184,8 @@
184184
withNamespaceResourceWhitelist(namespaceResourceWhitelist): { spec+: { namespaceResourceWhitelist: if std.isArray(v=namespaceResourceWhitelist) then namespaceResourceWhitelist else [namespaceResourceWhitelist] } },
185185
'#withNamespaceResourceWhitelistMixin':: d.fn(help='"NamespaceResourceWhitelist contains list of whitelisted namespace level resources"\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='namespaceResourceWhitelist', type=d.T.array)]),
186186
withNamespaceResourceWhitelistMixin(namespaceResourceWhitelist): { spec+: { namespaceResourceWhitelist+: if std.isArray(v=namespaceResourceWhitelist) then namespaceResourceWhitelist else [namespaceResourceWhitelist] } },
187+
'#withPermitOnlyProjectScopedClusters':: d.fn(help='"PermitOnlyProjectScopedClusters determines whether destinations can only reference clusters which are project-scoped"', args=[d.arg(name='permitOnlyProjectScopedClusters', type=d.T.boolean)]),
188+
withPermitOnlyProjectScopedClusters(permitOnlyProjectScopedClusters): { spec+: { permitOnlyProjectScopedClusters: permitOnlyProjectScopedClusters } },
187189
'#withRoles':: d.fn(help='"Roles are user defined RBAC roles associated with this project"', args=[d.arg(name='roles', type=d.T.array)]),
188190
withRoles(roles): { spec+: { roles: if std.isArray(v=roles) then roles else [roles] } },
189191
'#withRolesMixin':: d.fn(help='"Roles are user defined RBAC roles associated with this project"\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='roles', type=d.T.array)]),
@@ -192,6 +194,10 @@
192194
withSignatureKeys(signatureKeys): { spec+: { signatureKeys: if std.isArray(v=signatureKeys) then signatureKeys else [signatureKeys] } },
193195
'#withSignatureKeysMixin':: d.fn(help='"SignatureKeys contains a list of PGP key IDs that commits in Git must be signed with in order to be allowed for sync"\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='signatureKeys', type=d.T.array)]),
194196
withSignatureKeysMixin(signatureKeys): { spec+: { signatureKeys+: if std.isArray(v=signatureKeys) then signatureKeys else [signatureKeys] } },
197+
'#withSourceNamespaces':: d.fn(help='"SourceNamespaces defines the namespaces application resources are allowed to be created in"', args=[d.arg(name='sourceNamespaces', type=d.T.array)]),
198+
withSourceNamespaces(sourceNamespaces): { spec+: { sourceNamespaces: if std.isArray(v=sourceNamespaces) then sourceNamespaces else [sourceNamespaces] } },
199+
'#withSourceNamespacesMixin':: d.fn(help='"SourceNamespaces defines the namespaces application resources are allowed to be created in"\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='sourceNamespaces', type=d.T.array)]),
200+
withSourceNamespacesMixin(sourceNamespaces): { spec+: { sourceNamespaces+: if std.isArray(v=sourceNamespaces) then sourceNamespaces else [sourceNamespaces] } },
195201
'#withSourceRepos':: d.fn(help='"SourceRepos contains list of repository URLs which can be used for deployment"', args=[d.arg(name='sourceRepos', type=d.T.array)]),
196202
withSourceRepos(sourceRepos): { spec+: { sourceRepos: if std.isArray(v=sourceRepos) then sourceRepos else [sourceRepos] } },
197203
'#withSourceReposMixin':: d.fn(help='"SourceRepos contains list of repository URLs which can be used for deployment"\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='sourceRepos', type=d.T.array)]),

0 commit comments

Comments
 (0)