Skip to content

Commit

Permalink
fix addon icons
Browse files Browse the repository at this point in the history
  • Loading branch information
mms-gianni committed Jan 21, 2023
1 parent 810cc03 commit 1e5f984
Show file tree
Hide file tree
Showing 5 changed files with 364 additions and 3 deletions.
353 changes: 353 additions & 0 deletions services/homebox/app.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,353 @@
apiVersion: application.kubero.dev/v1alpha1
kind: KuberoApp
metadata:
creationTimestamp: "2023-01-20T21:59:22Z"
finalizers:
- helm.sdk.operatorframework.io/uninstall-release
generation: 1
labels:
manager: kubero
name: homebox
namespace: test-production
resourceVersion: "1855834"
uid: 3d4e36dd-4402-4045-a84e-53a1a0fea7f5
spec:
addons: []
affinity: {}
autodeploy: true
autoscale: false
autoscaling:
enabled: false
branch: main
buildpack: custom
cronjobs: []
deploymentstrategy: docker
domain: homebox.lacolhost.com
envVars: []
extraVolumes:
- accessModes:
- ReadWriteOnce
emptyDir: false
mountPath: /data
name: homebox-data
size: 1Gi
storageClass: standard
fullnameOverride: ""
gitrepo:
admin: true
clone_url: https://github.com/kubero-dev/template-nodeapp.git
default_branch: main
description: Simple example Node app
homepage: ""
id: 501665730
language: JavaScript
name: template-nodeapp
node_id: R_kgDOHebPwg
owner: kubero-dev
private: false
push: true
ssh_url: [email protected]:kubero-dev/template-nodeapp.git
visibility: public
image:
build:
command: npm install
repository: node
tag: latest
containerPort: "7745"
fetch:
repository: ghcr.io/kubero-dev/buildpacks/fetch
tag: main
pullPolicy: Always
repository: ghcr.io/hay-kot/homebox
run:
command: node index.js
repository: node
tag: latest
tag: latest
imagePullSecrets: []
ingress:
annotations: {}
className: ""
enabled: true
hosts:
- host: homebox.lacolhost.com
paths:
- path: /
pathType: ImplementationSpecific
tls: []
name: homebox
nameOverride: ""
nodeSelector: {}
phase: production
pipeline: test
podAnnotations: {}
podSecurityContext: {}
podsize:
default: true
description: 'Small (CPU: 0.25, Memory: 0.5Gi)'
name: small
resources:
limits:
cpu: 500m
memory: 1Gi
requests:
cpu: 250m
memory: 0.5Gi
replicaCount: 1
resources:
limits:
cpu: 500m
memory: 1Gi
requests:
cpu: 250m
memory: 0.5Gi
service:
port: 80
type: ClusterIP
serviceAccount:
annotations: {}
create: true
name: ""
tolerations: []
web:
autoscaling:
maxReplicas: 3
minReplicas: 1
targetCPUUtilizationPercentage: 80
targetMemoryUtilizationPercentage: 80
replicaCount: 1
worker:
autoscaling:
maxReplicas: 0
minReplicas: 0
targetCPUUtilizationPercentage: 80
targetMemoryUtilizationPercentage: 80
replicaCount: 0
status:
conditions:
- lastTransitionTime: "2023-01-20T21:59:23Z"
status: "True"
type: Initialized
- lastTransitionTime: "2023-01-20T21:59:23Z"
message: |
1. Get the application URL by running these commands:
http://homebox.lacolhost.com/
reason: InstallSuccessful
status: "True"
type: Deployed
deployedRelease:
manifest: |
---
# Source: kuberoapp/templates/serviceaccount.yaml
apiVersion: v1
kind: ServiceAccount
metadata:
name: homebox-kuberoapp
labels:
helm.sh/chart: kuberoapp-0.1.0
app.kubernetes.io/name: kuberoapp
app.kubernetes.io/instance: homebox
app.kubernetes.io/version: "1.16.0"
app.kubernetes.io/managed-by: Helm
---
# Source: kuberoapp/templates/pvc.yaml
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: homebox-data
spec:
storageClassName: standard
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
---
# Source: kuberoapp/templates/service.yaml
apiVersion: v1
kind: Service
metadata:
name: homebox-kuberoapp
labels:
helm.sh/chart: kuberoapp-0.1.0
app.kubernetes.io/name: kuberoapp
app.kubernetes.io/instance: homebox
app.kubernetes.io/version: "1.16.0"
app.kubernetes.io/managed-by: Helm
spec:
type: ClusterIP
ports:
- port: 80
targetPort: http
protocol: TCP
name: http
selector:
app.kubernetes.io/name: kuberoapp
app.kubernetes.io/instance: homebox-web
---
# Source: kuberoapp/templates/deployment-web.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: homebox-kuberoapp-web
labels:
helm.sh/chart: kuberoapp-0.1.0
app.kubernetes.io/name: kuberoapp
app.kubernetes.io/instance: homebox
app.kubernetes.io/version: "1.16.0"
app.kubernetes.io/managed-by: Helm
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/name: kuberoapp
app.kubernetes.io/instance: homebox-web
template:
metadata:
labels:
app.kubernetes.io/name: kuberoapp
app.kubernetes.io/instance: homebox-web
spec:
serviceAccountName: homebox-kuberoapp
securityContext:
{}
containers:
- name: kuberoapp-web
securityContext:
readOnlyRootFilesystem: true
image: "ghcr.io/hay-kot/homebox:latest"
imagePullPolicy: Always
env:
- name: PROC_TYPE
value: web
- name: PORT
value: "7745"
ports:
- name: http
containerPort: 7745
protocol: TCP
livenessProbe:
httpGet:
path: /
port: http
readinessProbe:
httpGet:
path: /
port: http
volumeMounts:
- mountPath: /tmp
name: tmp-storage
readOnly: false
- mountPath: /data
name: homebox-data
resources:
limits:
cpu: 500m
memory: 1Gi
requests:
cpu: 250m
memory: 0.5Gi
volumes:
- name: deployment-keys
secret:
defaultMode: 0600
secretName: deployment-keys
- name: app-storage
emptyDir: {}
- name: tmp-storage
emptyDir: {}
- name: homebox-data
persistentVolumeClaim:
claimName: homebox-data
---
# Source: kuberoapp/templates/deployment-worker.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: homebox-kuberoapp-worker
labels:
helm.sh/chart: kuberoapp-0.1.0
app.kubernetes.io/name: kuberoapp
app.kubernetes.io/instance: homebox
app.kubernetes.io/version: "1.16.0"
app.kubernetes.io/managed-by: Helm
spec:
replicas: 0
selector:
matchLabels:
app.kubernetes.io/name: kuberoapp
app.kubernetes.io/instance: homebox-worker
template:
metadata:
labels:
app.kubernetes.io/name: kuberoapp
app.kubernetes.io/instance: homebox-worker
spec:
serviceAccountName: homebox-kuberoapp
securityContext:
{}
containers:
- name: kuberoapp-worker
securityContext:
readOnlyRootFilesystem: true
image: "ghcr.io/hay-kot/homebox:latest"
imagePullPolicy: Always
env:
- name: PROC_TYPE
value: worker
- name: PORT
value: "7745"
ports:
- name: http
containerPort: 7745
protocol: TCP
volumeMounts:
- mountPath: /tmp
name: tmp-storage
readOnly: false
- mountPath: /data
name: homebox-data
resources:
limits:
cpu: 500m
memory: 1Gi
requests:
cpu: 250m
memory: 0.5Gi
volumes:
- name: deployment-keys
secret:
defaultMode: 0600
secretName: deployment-keys
- name: app-storage
emptyDir: {}
- name: tmp-storage
emptyDir: {}
- name: homebox-data
persistentVolumeClaim:
claimName: homebox-data
---
# Source: kuberoapp/templates/ingress.yaml
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: homebox-kuberoapp
labels:
helm.sh/chart: kuberoapp-0.1.0
app.kubernetes.io/name: kuberoapp
app.kubernetes.io/instance: homebox
app.kubernetes.io/version: "1.16.0"
app.kubernetes.io/managed-by: Helm
spec:
rules:
- host: "homebox.lacolhost.com"
http:
paths:
- path: /
pathType: ImplementationSpecific
backend:
service:
name: homebox-kuberoapp
port:
number: 80
name: homebox
8 changes: 8 additions & 0 deletions services/homebox/service.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
name: homebox
description: 'Homebox is the inventory and organization system built for the Home User'
tags:
- Search
source: https://github.com/hay-kot/homebox
website: hay-kot.github.io/homebox/
icon: https://raw.githubusercontent.com/hay-kot/homebox/main/docs/docs/assets/img/lilbox.svg
screenshots:
2 changes: 1 addition & 1 deletion src/addons/kuberoKafka.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {Plugin, IPlugin, IPluginFormFields} from './plugin';
export class KuberoKafka extends Plugin implements IPlugin {
public id: string = 'kubero-operator';//same as operator name
public displayName = 'Kubero Kafka'
public icon = '/img/addons/kafka.png'
public icon = '/img/addons/Kafka.png'
public install: string = ''
public artifact_url = 'https://artifacthub.io/api/v1/packages/olm/kubero/kubero-operator'
public beta: boolean = false;
Expand Down
2 changes: 1 addition & 1 deletion src/addons/kuberoPostgresql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {Plugin, IPlugin, IPluginFormFields} from './plugin';
export class KuberoPostgresql extends Plugin implements IPlugin {
public id: string = 'kubero-operator';//same as operator name
public displayName = 'Kubero Postgresql'
public icon = '/img/addons/Postgresql.png'
public icon = '/img/addons/postgresql.png'
public install: string = ''
public artifact_url = 'https://artifacthub.io/api/v1/packages/olm/kubero/kubero-operator'
public beta: boolean = false;
Expand Down
2 changes: 1 addition & 1 deletion src/addons/postgresCluster.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {Plugin, IPlugin, IPluginFormFields} from './plugin';
export class PostgresCluster extends Plugin implements IPlugin {
public id: string = 'postgresoperator';//same as operator name
public displayName = 'Crunchbase Postgres Cluster'
public icon = '/img/addons/PostgreSQL.png'
public icon = '/img/addons/postgresql.png'
public install: string = 'kubectl create -f https://operatorhub.io/install/v5/postgresql.yaml'
public artifact_url = 'https://artifacthub.io/api/v1/packages/olm/community-operators/postgresql'
public beta: boolean = true;
Expand Down

0 comments on commit 1e5f984

Please sign in to comment.