-
Notifications
You must be signed in to change notification settings - Fork 183
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #365 from kubesphere/sync/ks-core
Update ks-core helm chart
- Loading branch information
Showing
10 changed files
with
117 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
apiVersion: v1 | ||
stringData: | ||
configuration.yaml: | | ||
resource: | ||
group: "kubesphere.io" | ||
version: "v1alpha1" | ||
kind: "Extension" | ||
regoPolicy: | | ||
package filter | ||
import rego.v1 | ||
default match := false | ||
match if { | ||
not listAvailableExtension | ||
} | ||
match if { | ||
listAvailableExtension | ||
isSubscribed | ||
} | ||
match if { | ||
listAvailableExtension | ||
isInstalled | ||
} | ||
match if { | ||
listAvailableExtension | ||
not hasExtensionID | ||
} | ||
listAvailableExtension if ["available"][_] == input.filter.field | ||
isSubscribed if input.object.metadata.labels["marketplace.kubesphere.io/subscribed"] == "true" | ||
isInstalled if input.object.status.state != "" | ||
hasExtensionID if input.object.metadata.labels["marketplace.kubesphere.io/extension-id"] != "" | ||
kind: Secret | ||
metadata: | ||
name: extensions.customresourcefilters.kubesphere | ||
namespace: kubesphere-system | ||
type: config.kubesphere.io/custom-resource-filter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ metadata: | |
annotations: | ||
iam.kubesphere.io/uninitialized: "true" | ||
iam.kubesphere.io/globalrole: "platform-admin" | ||
kubesphere.io/creator: "system" | ||
spec: | ||
email: [email protected] | ||
password: {{ include "getOrDefaultPass" . | quote }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters