fix(invitarr) code clean up + docs (#4282)
This commit is contained in:
parent
8e7eeed6a9
commit
ce48afa3c2
|
@ -1,11 +1,3 @@
|
||||||
annotations:
|
|
||||||
truecharts.org/SCALE-support: "true"
|
|
||||||
truecharts.org/catagories: |
|
|
||||||
- HomeAutomation
|
|
||||||
- Tools-Utilities
|
|
||||||
- Other
|
|
||||||
- MediaApp-Other
|
|
||||||
- MediaServer-Other
|
|
||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
appVersion: "latest"
|
appVersion: "latest"
|
||||||
dependencies:
|
dependencies:
|
||||||
|
@ -13,7 +5,7 @@ dependencies:
|
||||||
repository: https://library-charts.truecharts.org
|
repository: https://library-charts.truecharts.org
|
||||||
version: 10.7.13
|
version: 10.7.13
|
||||||
deprecated: false
|
deprecated: false
|
||||||
description: Invitarr is a chatbot that invites discord users to plex. You can also automate this bot to invite discord users to plex once a certain role is given to a user or the user can also be added manually.
|
description: A chatbot that invites discord users to plex.
|
||||||
home: https://truecharts.org/docs/charts/incubator/invitarr
|
home: https://truecharts.org/docs/charts/incubator/invitarr
|
||||||
icon: https://truecharts.org/img/hotlink-ok/chart-icons/invitarr.png
|
icon: https://truecharts.org/img/hotlink-ok/chart-icons/invitarr.png
|
||||||
keywords:
|
keywords:
|
||||||
|
@ -21,8 +13,6 @@ keywords:
|
||||||
- HomeAutomation
|
- HomeAutomation
|
||||||
- Tools-Utilities
|
- Tools-Utilities
|
||||||
- Other
|
- Other
|
||||||
- MediaApp-Other
|
|
||||||
- MediaServer-Other
|
|
||||||
kubeVersion: ">=1.16.0-0"
|
kubeVersion: ">=1.16.0-0"
|
||||||
maintainers:
|
maintainers:
|
||||||
- email: info@truecharts.org
|
- email: info@truecharts.org
|
||||||
|
@ -34,4 +24,11 @@ sources:
|
||||||
- https://github.com/Sleepingpirates/Invitarr
|
- https://github.com/Sleepingpirates/Invitarr
|
||||||
- https://hub.docker.com/r/piratify/invitarr
|
- https://hub.docker.com/r/piratify/invitarr
|
||||||
type: application
|
type: application
|
||||||
version: 0.0.32
|
version: 0.0.33
|
||||||
|
annotations:
|
||||||
|
truecharts.org/catagories: |
|
||||||
|
- HomeAutomation
|
||||||
|
- Tools-Utilities
|
||||||
|
- Other
|
||||||
|
truecharts.org/SCALE-support: "true"
|
||||||
|
truecharts.org/grade: U
|
||||||
|
|
|
@ -0,0 +1,25 @@
|
||||||
|
# Installation Notes
|
||||||
|
|
||||||
|
- Create a discord bot [here](https://discord.com/developers/applications).
|
||||||
|
- Enable Intents else bot will not _DM_ users after they get the role.
|
||||||
|
- Invite the bot with `Administrator` permission.
|
||||||
|
|
||||||
|
- In your discord server run the following commands in any channel that the bot has access to, you will be DM by the bot for the reply:
|
||||||
|
|
||||||
|
- `.setupplex`
|
||||||
|
|
||||||
|
- Authenticate with your _**plex**_ `username` | `email` | `token` and `password`.
|
||||||
|
|
||||||
|
- `.roleadd @role`
|
||||||
|
|
||||||
|
- This is the role that will trigger the bot to get the email from the user and invite them to Plex.
|
||||||
|
|
||||||
|
- `.setuplibs`
|
||||||
|
- By default when a user is invited to plex they will have access to all Libraries. However you can bypass that with the above command.
|
||||||
|
- a comma separated list. Remember this is case sensitive. No spaces before or after comma. Example: `Animes,Movies,Tv Shows`.
|
||||||
|
|
||||||
|
:::note
|
||||||
|
|
||||||
|
Auto Plex invite only works when someone is given this role and won't message the user if they already have this role.
|
||||||
|
|
||||||
|
:::
|
|
@ -11,15 +11,15 @@ questions:
|
||||||
# Include{controllerExpert}
|
# Include{controllerExpert}
|
||||||
# Include{controllerExpertExtraArgs}
|
# Include{controllerExpertExtraArgs}
|
||||||
- variable: env
|
- variable: env
|
||||||
group: "Container Configuration"
|
group: Container Configuration
|
||||||
label: "Image Environment"
|
label: Image Environment
|
||||||
schema:
|
schema:
|
||||||
additional_attrs: true
|
additional_attrs: true
|
||||||
type: dict
|
type: dict
|
||||||
attrs:
|
attrs:
|
||||||
- variable: token
|
- variable: token
|
||||||
label: "token"
|
label: token
|
||||||
description: "Discord Bot Token"
|
description: Discord Bot Token
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
default: ""
|
default: ""
|
||||||
|
@ -29,8 +29,8 @@ questions:
|
||||||
# Include{serviceList}
|
# Include{serviceList}
|
||||||
# Include{persistenceRoot}
|
# Include{persistenceRoot}
|
||||||
- variable: config
|
- variable: config
|
||||||
label: "config Storage"
|
label: App Config Storage
|
||||||
description: "Config path"
|
description: Stores the Application Configuration.
|
||||||
schema:
|
schema:
|
||||||
additional_attrs: true
|
additional_attrs: true
|
||||||
type: dict
|
type: dict
|
||||||
|
@ -42,42 +42,42 @@ questions:
|
||||||
# Include{security}
|
# Include{security}
|
||||||
# Include{securityContextAdvancedRoot}
|
# Include{securityContextAdvancedRoot}
|
||||||
- variable: privileged
|
- variable: privileged
|
||||||
label: "Privileged mode"
|
label: Privileged mode
|
||||||
schema:
|
schema:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
- variable: readOnlyRootFilesystem
|
- variable: readOnlyRootFilesystem
|
||||||
label: "ReadOnly Root Filesystem"
|
label: ReadOnly Root Filesystem
|
||||||
schema:
|
schema:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
- variable: allowPrivilegeEscalation
|
- variable: allowPrivilegeEscalation
|
||||||
label: "Allow Privilege Escalation"
|
label: Allow Privilege Escalation
|
||||||
schema:
|
schema:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
- variable: runAsNonRoot
|
- variable: runAsNonRoot
|
||||||
label: "runAsNonRoot"
|
label: runAsNonRoot
|
||||||
schema:
|
schema:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
# Include{securityContextAdvanced}
|
# Include{securityContextAdvanced}
|
||||||
# Include{podSecurityContextRoot}
|
# Include{podSecurityContextRoot}
|
||||||
- variable: runAsUser
|
- variable: runAsUser
|
||||||
label: "runAsUser"
|
label: runAsUser
|
||||||
description: "The UserID of the user running the application"
|
description: The UserID of the user running the application
|
||||||
schema:
|
schema:
|
||||||
type: int
|
type: int
|
||||||
default: 0
|
default: 0
|
||||||
- variable: runAsGroup
|
- variable: runAsGroup
|
||||||
label: "runAsGroup"
|
label: runAsGroup
|
||||||
description: The groupID this App of the user running the application"
|
description: The groupID this App of the user running the application
|
||||||
schema:
|
schema:
|
||||||
type: int
|
type: int
|
||||||
default: 0
|
default: 0
|
||||||
- variable: fsGroup
|
- variable: fsGroup
|
||||||
label: "fsGroup"
|
label: fsGroup
|
||||||
description: "The group that should own ALL storage."
|
description: The group that should own ALL storage.
|
||||||
schema:
|
schema:
|
||||||
type: int
|
type: int
|
||||||
default: 568
|
default: 568
|
||||||
|
|
|
@ -1,16 +1,15 @@
|
||||||
env:
|
|
||||||
token: ""
|
|
||||||
image:
|
image:
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
repository: tccr.io/truecharts/invitarr
|
repository: tccr.io/truecharts/invitarr
|
||||||
tag: latest@sha256:5b4cef064f29027cdfdcd6e31e1a35e5c6cc977f1e22b276af8e8224fc72caa2
|
tag: latest@sha256:5b4cef064f29027cdfdcd6e31e1a35e5c6cc977f1e22b276af8e8224fc72caa2
|
||||||
persistence:
|
|
||||||
config:
|
env:
|
||||||
enabled: true
|
token: ""
|
||||||
mountPath: /app/app/config
|
|
||||||
podSecurityContext:
|
podSecurityContext:
|
||||||
runAsGroup: 0
|
runAsGroup: 0
|
||||||
runAsUser: 0
|
runAsUser: 0
|
||||||
|
|
||||||
probes:
|
probes:
|
||||||
liveness:
|
liveness:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
@ -18,9 +17,11 @@ probes:
|
||||||
enabled: false
|
enabled: false
|
||||||
startup:
|
startup:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|
||||||
securityContext:
|
securityContext:
|
||||||
readOnlyRootFilesystem: false
|
readOnlyRootFilesystem: false
|
||||||
runAsNonRoot: false
|
runAsNonRoot: false
|
||||||
|
|
||||||
service:
|
service:
|
||||||
main:
|
main:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
@ -28,5 +29,10 @@ service:
|
||||||
main:
|
main:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|
||||||
|
persistence:
|
||||||
|
config:
|
||||||
|
enabled: true
|
||||||
|
mountPath: /app/app/config
|
||||||
|
|
||||||
portal:
|
portal:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|
Loading…
Reference in New Issue