Skip to content

Commit

Permalink
Update resource metadata
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <[email protected]>
  • Loading branch information
tamalsaha committed May 20, 2024
1 parent 3db9c93 commit dbffad2
Show file tree
Hide file tree
Showing 22 changed files with 3,742 additions and 199 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ require (
kmodules.xyz/custom-resources v0.29.1
kmodules.xyz/go-containerregistry v0.0.12
kmodules.xyz/monitoring-agent-api v0.29.0
kmodules.xyz/resource-metadata v0.18.6-0.20240519125927-d558ba96f4da
kmodules.xyz/resource-metadata v0.18.6-0.20240520151448-fa43e6253ffd
kmodules.xyz/resource-metrics v0.29.5
kmodules.xyz/sets v0.29.0
kubeops.dev/falco-ui-server v0.0.3
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -921,8 +921,8 @@ kmodules.xyz/monitoring-agent-api v0.29.0 h1:gpFl6OZrlMLb/ySMHdREI9EwGtnJ91oZBn9
kmodules.xyz/monitoring-agent-api v0.29.0/go.mod h1:iNbvaMTgVFOI5q2LJtGK91j4Dmjv4ZRiRdasGmWLKQI=
kmodules.xyz/offshoot-api v0.29.0 h1:GHLhxxT9jU1N8+FvOCCeJNyU5g0duYS46UGrs6AHNLY=
kmodules.xyz/offshoot-api v0.29.0/go.mod h1:5NxhBblXoDHWStx9HCDJR2KFTwYjEZ7i1Id3jelIunw=
kmodules.xyz/resource-metadata v0.18.6-0.20240519125927-d558ba96f4da h1:srCqtb/wfooHdaHgIwXrk8tAzHXkZZDd0CigEjX/sa0=
kmodules.xyz/resource-metadata v0.18.6-0.20240519125927-d558ba96f4da/go.mod h1:WKwJXM00EFKeDXDF+fjEMwxyZnKs/1SXMj9nt0VbDHs=
kmodules.xyz/resource-metadata v0.18.6-0.20240520151448-fa43e6253ffd h1:HL/cbVXlH5z266wQ9SimMXA6MwpBl3pZ22vaM4E0RSw=
kmodules.xyz/resource-metadata v0.18.6-0.20240520151448-fa43e6253ffd/go.mod h1:WKwJXM00EFKeDXDF+fjEMwxyZnKs/1SXMj9nt0VbDHs=
kmodules.xyz/resource-metrics v0.29.5 h1:ciuvRXuXsloLNW/JwkubqbYySsvHvHr6/nhkTL5Sf1o=
kmodules.xyz/resource-metrics v0.29.5/go.mod h1:OuG/QobZ7o8GFHl/u3lqaUR0fDZDegxtV8Vdh+MNBD4=
kmodules.xyz/sets v0.29.0 h1:ZX/qOECzUob95JhhRtngJElHSlJ1UNNdwK4hTEy+nl0=
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,13 @@ spec:
items:
type: string
type: array
x-kubernetes-list-type: atomic
required:
- key
- operator
type: object
type: array
x-kubernetes-list-type: atomic
matchLabels:
additionalProperties:
type: string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,11 +131,13 @@ spec:
items:
type: string
type: array
x-kubernetes-list-type: atomic
required:
- key
- operator
type: object
type: array
x-kubernetes-list-type: atomic
matchLabels:
additionalProperties:
type: string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -346,11 +346,13 @@ spec:
items:
type: string
type: array
x-kubernetes-list-type: atomic
required:
- key
- operator
type: object
type: array
x-kubernetes-list-type: atomic
matchLabels:
additionalProperties:
type: string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -346,11 +346,13 @@ spec:
items:
type: string
type: array
x-kubernetes-list-type: atomic
required:
- key
- operator
type: object
type: array
x-kubernetes-list-type: atomic
matchLabels:
additionalProperties:
type: string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,15 @@ metadata:
k8s.io/version: v2
name: helm.toolkit.fluxcd.io-v2-helmreleases
spec:
connections:
- labels:
- offshoot
references:
- '{.metadata.namespace}-{.spec.chart.spec.chart}'
target:
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: HelmChart
type: MatchRef
resource:
group: helm.toolkit.fluxcd.io
kind: HelmRelease
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,15 @@ metadata:
k8s.io/version: v1
name: source.toolkit.fluxcd.io-v1-helmcharts
spec:
connections:
- labels:
- source
references:
- '{.spec.sourceRef.name}'
target:
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: HelmRepository
type: MatchRef
resource:
group: source.toolkit.fluxcd.io
kind: HelmChart
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,12 @@ spec:
name: helmreleases
scope: Namespaced
version: v2
ui:
editor:
name: helmtoolkitfluxcdio-helmrelease-editor
sourceRef:
apiGroup: source.toolkit.fluxcd.io
kind: HelmRepository
name: appscode-charts-oci
version: v0.4.19
enforceQuota: false
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,12 @@ spec:
name: imageupdateautomations
scope: Namespaced
version: v1beta2
ui:
editor:
name: imagetoolkitfluxcdio-imageupdateautomation-editor
sourceRef:
apiGroup: source.toolkit.fluxcd.io
kind: HelmRepository
name: appscode-charts-oci
version: v0.4.19
enforceQuota: false
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,12 @@ spec:
name: helmcharts
scope: Namespaced
version: v1
ui:
editor:
name: sourcetoolkitfluxcdio-helmchart-editor
sourceRef:
apiGroup: source.toolkit.fluxcd.io
kind: HelmRepository
name: appscode-charts-oci
version: v0.4.19
enforceQuota: false
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,12 @@ spec:
name: helmrepositories
scope: Namespaced
version: v1
ui:
editor:
name: sourcetoolkitfluxcdio-helmrepository-editor
sourceRef:
apiGroup: source.toolkit.fluxcd.io
kind: HelmRepository
name: appscode-charts-oci
version: v0.4.19
enforceQuota: false
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
apiVersion: meta.k8s.appscode.com/v1alpha1
kind: ResourceOutline
metadata:
creationTimestamp: null
labels:
k8s.io/group: helm.toolkit.fluxcd.io
k8s.io/kind: HelmRelease
k8s.io/resource: helmreleases
k8s.io/version: v2
name: helm.toolkit.fluxcd.io-v2-helmreleases
spec:
defaultLayout: true
pages:
- name: Overview
sections:
- blocks:
- actions:
create: Never
displayMode: List
kind: Connection
name: HelmRepository
query:
raw: |-
query Find($src: String!, $targetGroup: String!, $targetKind: String!) {
find(oid: $src) {
offshoot(group: "source.toolkit.fluxcd.io", kind: "HelmChart") {
refs: source(group: $targetGroup, kind: $targetKind) {
namespace
name
}
}
}
}
type: GraphQL
ref:
group: source.toolkit.fluxcd.io
kind: HelmRepository
- actions:
create: Never
displayMode: List
kind: Connection
name: HelmChart
query:
byLabel: offshoot
type: GraphQL
ref:
group: source.toolkit.fluxcd.io
kind: HelmChart
resource:
group: helm.toolkit.fluxcd.io
kind: HelmRelease
name: helmreleases
scope: Namespaced
version: v2
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
apiVersion: meta.k8s.appscode.com/v1alpha1
kind: ResourceOutline
metadata:
creationTimestamp: null
labels:
k8s.io/group: source.toolkit.fluxcd.io
k8s.io/kind: GitRepository
k8s.io/resource: gitrepositories
k8s.io/version: v1
name: source.toolkit.fluxcd.io-v1-gitrepositories
spec:
defaultLayout: true
resource:
group: source.toolkit.fluxcd.io
kind: GitRepository
name: gitrepositories
scope: Namespaced
version: v1
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
apiVersion: meta.k8s.appscode.com/v1alpha1
kind: ResourceOutline
metadata:
creationTimestamp: null
labels:
k8s.io/group: source.toolkit.fluxcd.io
k8s.io/kind: HelmChart
k8s.io/resource: helmcharts
k8s.io/version: v1
name: source.toolkit.fluxcd.io-v1-helmcharts
spec:
defaultLayout: true
pages:
- name: Overview
sections:
- blocks:
- actions:
create: Never
displayMode: List
kind: Connection
name: HelmRepository
query:
byLabel: source
type: GraphQL
ref:
group: source.toolkit.fluxcd.io
kind: HelmRepository
- actions:
create: Never
displayMode: List
kind: Connection
name: HelmRelease
query:
byLabel: offshoot
type: GraphQL
ref:
group: helm.toolkit.fluxcd.io
kind: HelmRelease
resource:
group: source.toolkit.fluxcd.io
kind: HelmChart
name: helmcharts
scope: Namespaced
version: v1
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
apiVersion: meta.k8s.appscode.com/v1alpha1
kind: ResourceOutline
metadata:
creationTimestamp: null
labels:
k8s.io/group: source.toolkit.fluxcd.io
k8s.io/kind: HelmRepository
k8s.io/resource: helmrepositories
k8s.io/version: v1
name: source.toolkit.fluxcd.io-v1-helmrepositories
spec:
defaultLayout: true
pages:
- name: Overview
sections:
- blocks:
- actions:
create: Never
displayMode: List
kind: Connection
name: HelmCharts
query:
byLabel: source
type: GraphQL
ref:
group: source.toolkit.fluxcd.io
kind: HelmChart
- actions:
create: Never
displayMode: List
kind: Connection
name: HelmReleases
query:
raw: |-
query Find($src: String!, $targetGroup: String!, $targetKind: String!) {
find(oid: $src) {
source(group: "source.toolkit.fluxcd.io", kind: "HelmChart") {
refs: offshoot(group: $targetGroup, kind: $targetKind) {
namespace
name
}
}
}
}
type: GraphQL
ref:
group: helm.toolkit.fluxcd.io
kind: HelmRelease
resource:
group: source.toolkit.fluxcd.io
kind: HelmRepository
name: helmrepositories
scope: Namespaced
version: v1
2 changes: 1 addition & 1 deletion vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1958,7 +1958,7 @@ kmodules.xyz/monitoring-agent-api/client
## explicit; go 1.21.5
kmodules.xyz/offshoot-api/api/v1
kmodules.xyz/offshoot-api/api/v2
# kmodules.xyz/resource-metadata v0.18.6-0.20240519125927-d558ba96f4da
# kmodules.xyz/resource-metadata v0.18.6-0.20240520151448-fa43e6253ffd
## explicit; go 1.22.0
kmodules.xyz/resource-metadata/apis/core/install
kmodules.xyz/resource-metadata/apis/core/v1alpha1
Expand Down

0 comments on commit dbffad2

Please sign in to comment.