-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature/Migrate container images (#4)
* Skip helm chart release packaging if exists * Use correct Helm repo URL * Add Helm charts: NFS-Ganesha & Rancher Cluster Template * Copy demo application source * Update CI to build and scan images * Bump Helm charts & fix bad EOL * Add Dockerhub login * Update PKG with container image creation
- Loading branch information
Showing
226 changed files
with
21,995 additions
and
19 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,4 +5,5 @@ | |
temp*.yaml | ||
temp.sh | ||
/charts/temp/ | ||
values_*.y*ml | ||
values_mine.y*ml | ||
.sass-cache/ |
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,11 @@ | ||
# Contribution guide | ||
|
||
## Code lifecycle | ||
|
||
This git repository follows the Gitflow pattern, so make sure to follow the convention. | ||
|
||
For instance, create a branch `feature/my-change-title` from `develop`, once good enough to be shared and reviewed create a Pull Request targetting `develop`. | ||
|
||
## Code convention | ||
|
||
For bash/shell script files, follow the conventions from [Google Style Guide](https://google.github.io/styleguide/shellguide.html). |
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
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,23 @@ | ||
# Patterns to ignore when building packages. | ||
# This supports shell glob matching, relative path matching, and | ||
# negation (prefixed with !). Only one pattern per line. | ||
.DS_Store | ||
# Common VCS dirs | ||
.git/ | ||
.gitignore | ||
.bzr/ | ||
.bzrignore | ||
.hg/ | ||
.hgignore | ||
.svn/ | ||
# Common backup files | ||
*.swp | ||
*.bak | ||
*.tmp | ||
*.orig | ||
*~ | ||
# Various IDEs | ||
.project | ||
.idea/ | ||
*.tmproj | ||
.vscode/ |
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,11 @@ | ||
apiVersion: v2 | ||
name: nfs-ganesha | ||
description: Helm chart for managing NFS-Ganesha | ||
type: application | ||
version: "0.1.0" | ||
appVersion: "1.0.0" | ||
dependencies: [] | ||
home: https://github.com/SUSE/lab-setup/tree/main/charts/nfs-ganesha | ||
maintainers: | ||
- name: devpro | ||
email: bertrand.thomas@suse.com |
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,23 @@ | ||
# NFS-Ganesha Helm Chart | ||
|
||
This Helm chart will install [NFS-Ganesha](https://nfs-ganesha.github.io/) on a Kubernetes cluster. | ||
|
||
## Quick start | ||
|
||
Install the app with minimal settings: | ||
|
||
```bash | ||
# adds the repo | ||
helm repo add suse-lab-setup https://opensource.suse.com/lab-setup | ||
helm repo update | ||
|
||
# installs the chart with default parameters | ||
helm upgrade --install nfs-ganesha suse-lab-setup/nfs-ganesha --create-namespace --namespace nfs-ganesha | ||
``` | ||
|
||
Clean-up: | ||
|
||
```bash | ||
helm delete nfs-ganesha -n nfs-ganesha | ||
kubectl delete ns nfs-ganesha | ||
``` |
Empty file.
Empty file.
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,39 @@ | ||
--- | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
labels: | ||
app: {{ .Values.name }} | ||
name: {{ .Values.name }} | ||
spec: | ||
replicas: 1 | ||
selector: | ||
matchLabels: | ||
app: {{ .Values.name }} | ||
template: | ||
metadata: | ||
labels: | ||
app: nfs-ganesha | ||
spec: | ||
containers: | ||
- name: container-0 | ||
image: {{ .Values.image }}:{{ .Values.tag }} | ||
imagePullPolicy: Always | ||
ports: | ||
- containerPort: 2049 | ||
name: nfsv4 | ||
protocol: TCP | ||
securityContext: | ||
capabilities: | ||
add: | ||
- NET_ADMIN | ||
- DAC_READ_SEARCH | ||
privileged: true | ||
volumeMounts: | ||
- mountPath: /data/nfs | ||
name: share | ||
dnsPolicy: ClusterFirst | ||
restartPolicy: Always | ||
volumes: | ||
- emptyDir: {} | ||
name: share |
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,29 @@ | ||
--- | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: {{ .Values.name }}-nodeport | ||
spec: | ||
selector: | ||
app: {{ .Values.name }} | ||
type: NodePort | ||
ports: | ||
- name: nfsv4 | ||
nodePort: 32049 | ||
port: 2049 | ||
protocol: TCP | ||
targetPort: 2049 | ||
--- | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: {{ .Values.name }} | ||
spec: | ||
selector: | ||
app: {{ .Values.name }} | ||
type: ClusterIP | ||
ports: | ||
- name: nfsv4 | ||
port: 2049 | ||
protocol: TCP | ||
targetPort: 2049 |
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,3 @@ | ||
name: nfs-ganesha | ||
image: janeczku/nfs-ganesha | ||
tag: latest |
Oops, something went wrong.