This repository has been archived by the owner on Nov 1, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Finishes implementation of syncing due to repo chart changes; helm ve…
…rsion to 2.8. Changes CRD API naming; cleans up flags Renames CRD from FluxHelmResource to FluxHelmRelease Renames fields of CRD definition Adds CircleCi additions for helm operator Updates CRD file to reflect renaming Bug fix for charts sync Updates helm-operator manifest Fixes continuous redundant releases during chart sync Adds helm integration documentation
- Loading branch information
Tamara Kaufler
committed
Feb 20, 2018
1 parent
f22bdca
commit 5d70ad1
Showing
60 changed files
with
1,185 additions
and
1,630 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,5 @@ | ||
package fluxintegrations | ||
|
||
const ( | ||
GroupName = "helm.integrations.flux.weave.works" | ||
) |
4 changes: 2 additions & 2 deletions
4
apis/integrations.flux/v1/doc.go → ...egrations.flux.weave.works/v1alpha/doc.go
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
// +k8s:deepcopy-gen=package,register | ||
|
||
// Package v1 is the v1 version of the API. | ||
// +groupName=integrations.flux | ||
package v1 | ||
// +groupName=helm.integrations.flux.weave.works | ||
package v1alpha |
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,47 @@ | ||
package v1alpha | ||
|
||
import ( | ||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" | ||
//"k8s.io/apimachinery/pkg/runtime" | ||
) | ||
|
||
// +genclient | ||
// +genclient:noStatus | ||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object | ||
|
||
// FluxHelmRelease represents custom resource associated with a Helm Chart | ||
type FluxHelmRelease struct { | ||
metav1.TypeMeta `json:",inline"` | ||
metav1.ObjectMeta `json:"metadata"` | ||
|
||
Spec FluxHelmReleaseSpec `json:"spec"` | ||
} | ||
|
||
// FluxHelmReleaseSpec is the spec for a FluxHelmRelease resource | ||
// FluxHelmReleaseSpec | ||
type FluxHelmReleaseSpec struct { | ||
ChartGitPath string `json:"chartGitPath"` | ||
ReleaseName string `json:"releaseName,omitempty"` | ||
Values []HelmChartParam `json:"values,omitempty"` | ||
} | ||
|
||
// HelmChartParam represents Helm Chart customization | ||
// it will be applied to override the values.yaml and/or the Chart itself | ||
// Name ... parameter name; if missing this parameter will be discarded | ||
// Value ... | ||
|
||
// HelmChartParam ... user customization of Chart parameterized values | ||
type HelmChartParam struct { | ||
Name string `json:"name"` | ||
Value string `json:"value"` | ||
} | ||
|
||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object | ||
|
||
// FluxHelmReleaseList is a list of FluxHelmRelease resources | ||
type FluxHelmReleaseList struct { | ||
metav1.TypeMeta `json:",inline"` | ||
metav1.ListMeta `json:"metadata"` | ||
|
||
Items []FluxHelmRelease `json:"items"` | ||
} |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
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
Oops, something went wrong.