-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updates README and bumps version to 1.5.0
- Loading branch information
1 parent
83baad8
commit 3402b45
Showing
7 changed files
with
134 additions
and
111 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 |
---|---|---|
@@ -0,0 +1,55 @@ | ||
apiVersion: batch/v1 | ||
kind: CronJob | ||
metadata: | ||
name: netbox-sync | ||
labels: | ||
app: netbox-sync | ||
spec: | ||
# run every hour | ||
schedule: "23 * * * *" | ||
jobTemplate: | ||
spec: | ||
template: | ||
spec: | ||
containers: | ||
- name: netbox-sync | ||
image: bbricardo/netbox-sync:latest | ||
imagePullPolicy: IfNotPresent | ||
args: | ||
- -c | ||
- /settings.yaml | ||
- /secrets/secrets.yaml | ||
securityContext: | ||
capabilities: | ||
drop: | ||
- ALL | ||
readOnlyRootFilesystem: true | ||
runAsGroup: 1000 | ||
runAsUser: 1000 | ||
runAsNonRoot: true | ||
allowPrivilegeEscalation: false | ||
seccompProfile: | ||
type: RuntimeDefault | ||
resources: | ||
limits: | ||
cpu: 500m | ||
memory: 512Mi | ||
requests: | ||
cpu: 100m | ||
memory: 64Mi | ||
volumeMounts: | ||
- name: common-config-volume | ||
mountPath: /settings.yaml | ||
subPath: settings.yaml | ||
readOnly: true | ||
- name: common-secrets-volume | ||
mountPath: /secrets | ||
readOnly: true | ||
volumes: | ||
- name: common-config-volume | ||
configMap: | ||
name: netbox-sync-config | ||
- name: common-secrets-volume | ||
secret: | ||
secretName: netbox-sync-secrets | ||
restartPolicy: Never |
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 |
---|---|---|
|
@@ -7,8 +7,8 @@ | |
# For a copy, see file LICENSE.txt included in this | ||
# repository or visit: <https://opensource.org/licenses/MIT>. | ||
|
||
__version__ = "1.4.0-beta2" | ||
__version_date__ = "2023-02-19" | ||
__version__ = "1.5.0" | ||
__version_date__ = "2023-03-20" | ||
__author__ = "Ricardo Bartels <[email protected]>" | ||
__description__ = "NetBox Sync" | ||
__license__ = "MIT" | ||
|
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 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