You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
am deploying nifi and nifi-registry on aks and everything is working but the integration with git.
I try almost everything
change persistance from true to false, tried username and password auth.
this code is part of the values.yaml of nifi.
registry:
## If true, install the Nifi registry
enabled: true
url: ""
port: 80
# Default values for nifi-registry.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
replicaCount: 1
image:
repository: apache/nifi-registry
pullPolicy: Always
tag: "0.8.0"
initContainers:
git:
image: alpine/git
tag: v2.26.2
# alpine:
# image: alpine
# tag: "3.6"
# Additional environment variables to set for the initContainers
extraEnvs: []
# extraEnvs:
# - name: FOO
# value: bar
service:
type: LoadBalancer
httpsport: 18080
ingress:
enabled: false
annotations: {}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
hosts:
- host: chart-example.local
paths: []
tls: []
# - secretName: chart-example-tls
# hosts:
# - chart-example.local
## Persist data to a persistent volume
persistence:
enabled: false
database:
# storageClass: "-"
accessMode: ReadWriteOnce
size: 1Gi
flowStorage:
# storageClass: "-"
accessMode: ReadWriteOnce
size: 1Gi
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
bundleProvider:
file:
enabled: true
# -- the path in the running pod where the git repo will be cloned into
# either absolute or relative to the container working directory, which is NIFI_REGISTRY_HOME
# If you elect to use a non-default location, you must also update the property associated.
storageDirectory: ./extension_bundles
flowProvider:
git:
enabled: true
# Repository to be cloned at pod startup
url: '[email protected]:N****ni/***.git'
# Sets NIFI_REGISTRY_GIT_REMOTE for update_flow_provider.sh
remote: 'origin'
# Sets NIFI_REGISTRY_GIT_USER for update_flow_provider.sh
user:
# Sets NIFI_REGISTRY_GIT_PASSWORD for update_flow_provider.sh
password:
# passwordSecret(Name|Key) is the name and key of the k8s secret holding the password (can be used instead of password)
# passwordSecretName:
# passwordSecretKey:
# Global Git configuration See https://git-scm.com/docs/git-config for more details.
config:
enabled: false
data: ""
# data: |
# [credential "https://github.com"]
# username = foo
ssh:
# To use an SSH public/private keypair as a Kubernetes secret:
# 1. Generate a SSH key named id_rsa:
# ssh-keygen -q -N "" -f ./id_rsa
# 2. Create a Kubernetes secret:
# kubectl -n nifi-registry create secret generic nifi-registry-git-ssh --from-file=./id_rsa
# 3. Don't check these key files into your Git repository! Once you've created
# the Kubernetes secret, Delete the private key:
# rm ./id_rsa
# 4. Add ./id_rsa.pub as a deployment key with write access in your Git repo
# 5. Set the secret name (e.g., nifi-registry-git-ssh) here:
secretName: 'nifi-registry-git-ssh'
# 6. Provide the public key(s) of the SSH server(s) for $HOME/.ssh/known_hosts
knownHosts: |
github.com ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCj7ndNxQowgcQnjshcLrqPEiiphnt+VTTvDP6mHBL9j1aNUkY4Ue1gvwnGLVlOhGeYrnZaMgRK6+PKCUXaDbC7qtbW8gIkhL7aGCsOr/C56SJMy/BCZfxd1nWzAOxSDPgVsmerOBYfNqltV9/hWCqBywINIR+5dIg6JTJ72pcEpEjcYgXkE2YEFXV1JHnsKgbLWNlhScqb2UmyRkQyytRLtL+38TGxkxCflmO+5Z8CSSNY7GidjMIZ7Q4zMjA2n1nGrlTDkzwDCsw+wqFPGQA179cnfGWOWRVruj16z6XyvxvjJwbz0wQZ75XK5tKSb7FNyeIEs4TT4jk+S4dhPeAUC5y+bDYirYgM4GC7uEnztnZyaVWQ7B381AK4Qdrwt51ZqExKbQpTUNn+EjqoTwvqNj4kqx5QUCI0ThS/YkOxJCXmPUWZbhjpCg56i+2aB6CmK2JGhn57K5mj0MNdBXA4/WnwH6XoPWJzK5Nyu2zB3nAZp+S5hpQs+p1vN1/wsjk=
# 7. Set the GIT_SSH_COMMAND
gitSshCommand: "ssh -v"
# 8. specify the config which would go in $HOME/.ssh/config file, for e.g.
# config: |
# Host github.com
# ProxyCommand socat STDIO PROXY:<proxyIP>:%h:%p,proxyport=<proxyPort>,proxyauth=<username:password>
# User git
# Hostname ssh.github.com
# Port 443
# IdentityFile /etc/fluxd/ssh/identity
# or, if using an SSH public/private keypair:
config: |
StrictHostKeyChecking accept-new
postgres:
enabled: false
driverURL: https://jdbc.postgresql.org/download/
fileName: postgresql-42.2.6.jar
driverClass: org.postgresql.Driver
url: jdbc:postgresql://localhost/nifireg
username: nifireg
password: nifireg
The text was updated successfully, but these errors were encountered:
am deploying nifi and nifi-registry on aks and everything is working but the integration with git.
I try almost everything
change persistance from true to false, tried username and password auth.
this code is part of the values.yaml of nifi.
The text was updated successfully, but these errors were encountered: